mirror of https://github.com/ventoy/Ventoy.git
add support for latest blackarch distro (issue #654)
This commit is contained in:
parent
c8b2cca7c2
commit
ff0ad76d8d
|
@ -270,6 +270,8 @@ function distro_specify_initrd_file_phase2 {
|
||||||
fi
|
fi
|
||||||
elif [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
|
elif [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
|
||||||
vt_linux_specify_initrd_file /blackarch/boot/x86_64/archiso.img
|
vt_linux_specify_initrd_file /blackarch/boot/x86_64/archiso.img
|
||||||
|
elif [ -f (loop)/blackarch/boot/x86_64/initramfs-linux.img ]; then
|
||||||
|
vt_linux_specify_initrd_file /blackarch/boot/x86_64/initramfs-linux.img
|
||||||
|
|
||||||
elif [ -f (loop)/install.amd/initrd.gz ]; then
|
elif [ -f (loop)/install.amd/initrd.gz ]; then
|
||||||
vt_linux_specify_initrd_file /live/initrd2.img
|
vt_linux_specify_initrd_file /live/initrd2.img
|
||||||
|
@ -548,6 +550,8 @@ function uefi_linux_menu_func {
|
||||||
elif [ -d (loop)/blackarch ]; then
|
elif [ -d (loop)/blackarch ]; then
|
||||||
if [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
|
if [ -f (loop)/blackarch/boot/x86_64/archiso.img ]; then
|
||||||
vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
|
vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
|
||||||
|
elif [ -f (loop)/blackarch/boot/x86_64/initramfs-linux.img ]; then
|
||||||
|
vt_add_replace_file $vtindex "blackarch\\boot\\x86_64\\initramfs-linux.img"
|
||||||
fi
|
fi
|
||||||
elif [ -d (loop)/anarchy ]; then
|
elif [ -d (loop)/anarchy ]; then
|
||||||
if [ -f (loop)/anarchy/boot/x86_64/initramfs-linux.img ]; then
|
if [ -f (loop)/anarchy/boot/x86_64/initramfs-linux.img ]; then
|
||||||
|
|
Loading…
Reference in New Issue