From 759593853c4fcfc1a9b733797c37535e7672cf28 Mon Sep 17 00:00:00 2001 From: henry Date: Fri, 28 Jun 2019 10:02:19 +0200 Subject: [PATCH] Added mbusb.d/artix.d --- mbusb.d/artix.d/generic.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mbusb.d/artix.d/generic.cfg diff --git a/mbusb.d/artix.d/generic.cfg b/mbusb.d/artix.d/generic.cfg new file mode 100644 index 00000000..9829bee9 --- /dev/null +++ b/mbusb.d/artix.d/generic.cfg @@ -0,0 +1,15 @@ +for isofile in $isopath/artix-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + probe --label --set=cd_label (loop) + menuentry "Start Artix Linux" { + bootoptions="img_dev=$imgdevpath img_loop=$iso_path earlymodules=loop misobasedir=artix misolabel=$cd_label nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 logo.nologo splash showopts" + linux (loop)/boot/vmlinuz-* $bootoptions + initrd (loop)/boot/initramfs-*.img + } + } + fi +done