]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
fix Parabola EFI booting (#508)
authorDavid P <megver83@parabola.nu>
Fri, 9 Oct 2020 01:41:04 +0000 (01:41 +0000)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 01:41:04 +0000 (09:41 +0800)
INSTALL/grub/grub.cfg

index f517d0ae646d7feaf461ec2d5eb3d89a5befcd8e..7e33c3bd6c8be8dac048239a319c90812cb158be 100644 (file)
@@ -500,10 +500,8 @@ function uefi_linux_menu_func {
                     vt_add_replace_file $vtindex "boot\\initramfs_x86_64.img"
                 fi
             elif [ -d (loop)/parabola ]; then
-                if [ -f (loop)/parabola/boot/x86_64/parabola.img ]; then
-                    vt_add_replace_file $vtindex "EFI\\parabola\\parabola.img"
-                elif [ -f (loop)/boot/initramfs_x86_64.img ]; then
-                    vt_add_replace_file $vtindex "boot\\initramfs_x86_64.img"
+                if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
+                    vt_add_replace_file $vtindex "EFI\\parabolaiso\\parabolaiso.img"
                 fi
             elif [ -f (loop)/EFI/BOOT/initrd.gz ]; then
                 vt_add_replace_file $vtindex "EFI\\BOOT\\initrd.gz"