mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-02-04 10:26:05 -05:00
grub.cfg: add support for new Parabola ISOs (#590)
This commit is contained in:
parent
e8d17f9bb1
commit
8c192a1807
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user