Basic support for porteuX boot

This commit is contained in:
Axel Garcia K. 2025-04-04 21:30:23 +01:00 committed by GitHub
parent 2dafe75509
commit 9f36b6816b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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