support eweOS ISO (#3068)

This commit is contained in:
longpanda
2025-01-22 18:24:09 +08:00
parent b11c38779d
commit f62bd1be14
4 changed files with 109 additions and 1 deletions

View File

@@ -403,10 +403,12 @@ function distro_specify_initrd_file_phase2 {
vt_linux_specify_initrd_file /images/pxeboot/initrd.img
elif [ -f (loop)/live/initrd ]; then
vt_linux_specify_initrd_file /live/initrd
elif [ -f (loop)/initramfs-linux.img ]; then
vt_linux_specify_initrd_file /initramfs-linux.img
fi
}
function ventoy_get_ghostbsd_ver {
# fallback to parse version from elf /boot/kernel/kernel
set vt_freebsd_ver=xx