From: David P Date: Mon, 16 Nov 2020 03:48:41 +0000 (+0000) Subject: grub.cfg: add support for new Parabola ISOs (#590) X-Git-Tag: v1.0.29~1 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/8c192a1807c3d69acea241b269febd608296a2bc?ds=sidebyside grub.cfg: add support for new Parabola ISOs (#590) --- diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index 95df45b..ac0ccde 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -230,6 +230,11 @@ function distro_specify_initrd_file_phase2 { if [ -f (loop)/parabola/boot/i686/parabolaiso.img ]; then vt_linux_specify_initrd_file /parabola/boot/i686/parabolaiso.img fi + elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then + vt_linux_specify_initrd_file /parabola/boot/x86_64/initramfs-linux-libre.img + if [ -f (loop)/parabola/boot/i686/initramfs-linux-libre.img ]; then + vt_linux_specify_initrd_file /parabola/boot/i686/initramfs-linux-libre.img + fi elif [ -f (loop)/hyperbola/boot/x86_64/hyperiso.img ]; then vt_linux_specify_initrd_file /hyperbola/boot/x86_64/hyperiso.img if [ -f (loop)/hyperbola/boot/i686/hyperiso.img ]; then @@ -525,6 +530,8 @@ function uefi_linux_menu_func { elif [ -d (loop)/parabola ]; then if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then vt_add_replace_file $vtindex "EFI\\parabolaiso\\parabolaiso.img" + elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then + vt_add_replace_file $vtindex "parabola\\boot\\x86_64\\initramfs-linux-libre.img" fi elif [ -f (loop)/EFI/BOOT/initrd.gz ]; then vt_add_replace_file $vtindex "EFI\\BOOT\\initrd.gz" @@ -542,6 +549,8 @@ function uefi_linux_menu_func { elif [ -d (loop)/EFI/BOOT/entries ]; then if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then vt_add_replace_file 0 "EFI\\parabolaiso\\parabolaiso.img" + elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then + vt_add_replace_file $vtindex "parabola\\boot\\x86_64\\initramfs-linux-libre.img" fi elif [ -e (loop)/syslinux/alt0/full.cz ]; then vt_add_replace_file 0 "EFI\\BOOT\\full.cz"