mirror of https://github.com/ventoy/Ventoy.git
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
|
||||
fi
|
||||
|
||||
if $GREP -q 'austrumi' /proc/version; then
|
||||
echo 'austrumi'; return
|
||||
fi
|
||||
|
||||
echo "default"
|
||||
}
|
||||
|
||||
|
|
|
@ -277,7 +277,12 @@ function distro_specify_initrd_file_phase2 {
|
|||
vt_linux_specify_initrd_file /install.amd/gtk/initrd.gz
|
||||
elif [ -f (loop)/boot/grub/kernels.cfg ]; then
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue