Fix the issue when booting latest systemrescue

This commit is contained in:
longpanda 2022-02-14 13:28:26 +08:00
parent 86b13727ca
commit 58b1bbe0b5

View File

@ -362,6 +362,9 @@ function distro_specify_initrd_file_phase2 {
vt_linux_specify_initrd_file /pyabr/boot/initrfs.img
elif [ -f (loop)/initrd0.img ]; then
vt_linux_specify_initrd_file /initrd0.img
elif [ -f (loop)/sysresccd/boot/i686/sysresccd.img ]; then
vt_linux_specify_initrd_file /sysresccd/boot/i686/sysresccd.img
fi
}