fix Parabola rEFInd booting (#989)

newer Parabola rEFInd ISOs need to run vt_linux_get_main_initrd_index to actually work, just like the systemd-boot ISOs
pull/980/head^2
David P 3 years ago committed by GitHub
parent 07a386c963
commit 6b78603dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -638,6 +638,8 @@ function uefi_linux_menu_func {
vt_add_replace_file 0 "EFI\\hyperiso\\hyperiso.img"
fi
elif [ -d (loop)/EFI/BOOT/entries ]; then
vt_linux_get_main_initrd_index vtindex
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

Loading…
Cancel
Save