mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-19 00:45:23 +00:00
Basic support for porteuX boot
This commit is contained in:
parent
2dafe75509
commit
9f36b6816b
@ -406,6 +406,8 @@ function distro_specify_initrd_file_phase2 {
|
|||||||
vt_linux_specify_initrd_file /360Disk/initrd.gz
|
vt_linux_specify_initrd_file /360Disk/initrd.gz
|
||||||
elif [ -f (loop)/porteus/initrd.xz ]; then
|
elif [ -f (loop)/porteus/initrd.xz ]; then
|
||||||
vt_linux_specify_initrd_file /porteus/initrd.xz
|
vt_linux_specify_initrd_file /porteus/initrd.xz
|
||||||
|
elif [ -f (loop)/porteux/initrd.zst ]; then
|
||||||
|
vt_linux_specify_initrd_file /porteux/initrd.zst
|
||||||
elif [ -f (loop)/pyabr/boot/initrfs.img ]; then
|
elif [ -f (loop)/pyabr/boot/initrfs.img ]; then
|
||||||
vt_linux_specify_initrd_file /pyabr/boot/initrfs.img
|
vt_linux_specify_initrd_file /pyabr/boot/initrfs.img
|
||||||
elif [ -f (loop)/initrd0.img ]; then
|
elif [ -f (loop)/initrd0.img ]; then
|
||||||
@ -857,6 +859,9 @@ function uefi_linux_menu_func {
|
|||||||
elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then
|
elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then
|
||||||
syslinux_configfile (loop)/boot/syslinux/porteus.cfg
|
syslinux_configfile (loop)/boot/syslinux/porteus.cfg
|
||||||
set vtback_cfg_find=1
|
set vtback_cfg_find=1
|
||||||
|
elif [ -f (loop)/boot/syslinux/porteux.cfg ]; then
|
||||||
|
syslinux_configfile (loop)/boot/syslinux/porteux.cfg
|
||||||
|
set vtback_cfg_find=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1311,6 +1316,9 @@ function legacy_linux_menu_func {
|
|||||||
elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then
|
elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then
|
||||||
syslinux_configfile (loop)/boot/syslinux/porteus.cfg
|
syslinux_configfile (loop)/boot/syslinux/porteus.cfg
|
||||||
set vtback_cfg_find=1
|
set vtback_cfg_find=1
|
||||||
|
elif [ -f (loop)/boot/syslinux/porteux.cfg ]; then
|
||||||
|
syslinux_configfile (loop)/boot/syslinux/porteux.cfg
|
||||||
|
set vtback_cfg_find=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user