support devuan in Legacy BIOS mode.

This commit is contained in:
longpanda
2025-02-24 19:16:31 +08:00
parent 004ad27e0d
commit 96f11252d9
4 changed files with 70 additions and 0 deletions

View File

@@ -405,6 +405,8 @@ function distro_specify_initrd_file_phase2 {
vt_linux_specify_initrd_file /live/initrd
elif [ -f (loop)/initramfs-linux.img ]; then
vt_linux_specify_initrd_file /initramfs-linux.img
elif [ -f (loop)/boot/isolinux/initrd.gz ]; then
vt_linux_specify_initrd_file /boot/isolinux/initrd.gz
fi
}