mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-16 07:26:22 +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
|
||||
elif [ -f (loop)/porteus/initrd.xz ]; then
|
||||
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
|
||||
vt_linux_specify_initrd_file /pyabr/boot/initrfs.img
|
||||
elif [ -f (loop)/initrd0.img ]; then
|
||||
@ -857,6 +859,9 @@ function uefi_linux_menu_func {
|
||||
elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then
|
||||
syslinux_configfile (loop)/boot/syslinux/porteus.cfg
|
||||
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
|
||||
|
||||
@ -1311,6 +1316,9 @@ function legacy_linux_menu_func {
|
||||
elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then
|
||||
syslinux_configfile (loop)/boot/syslinux/porteus.cfg
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user