mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-15 16:48:41 -04:00
add austrumi support.(issue #637)
This commit is contained in:
parent
0ac83bffda
commit
8b9901a6a5
@ -309,6 +309,10 @@ ventoy_get_os_type() {
|
|||||||
echo 'primeos'; return
|
echo 'primeos'; return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if $GREP -q 'austrumi' /proc/version; then
|
||||||
|
echo 'austrumi'; return
|
||||||
|
fi
|
||||||
|
|
||||||
echo "default"
|
echo "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,6 +277,11 @@ function distro_specify_initrd_file_phase2 {
|
|||||||
vt_linux_specify_initrd_file /install.amd/gtk/initrd.gz
|
vt_linux_specify_initrd_file /install.amd/gtk/initrd.gz
|
||||||
elif [ -f (loop)/boot/grub/kernels.cfg ]; then
|
elif [ -f (loop)/boot/grub/kernels.cfg ]; then
|
||||||
vt_linux_parse_initrd_grub file (loop)/boot/grub/kernels.cfg
|
vt_linux_parse_initrd_grub file (loop)/boot/grub/kernels.cfg
|
||||||
|
elif [ -f (loop)/austrumi/initrd.gz ]; then
|
||||||
|
vt_linux_specify_initrd_file /austrumi/initrd.gz
|
||||||
|
if [ -f (loop)/EFI/BOOT/bootx64.efi ]; then
|
||||||
|
vt_cpio_busybox64 "64h"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user