Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
8b9901a6
Commit
8b9901a6
authored
Dec 15, 2020
by
longpanda
Browse files
add austrumi support.(issue #637)
parent
0ac83bff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_chain.sh
+4
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+6
-1
No files found.
IMG/cpio/ventoy/ventoy_chain.sh
View file @
8b9901a6
...
@@ -309,6 +309,10 @@ ventoy_get_os_type() {
...
@@ -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"
}
}
...
...
INSTALL/grub/grub.cfg
View file @
8b9901a6
...
@@ -277,6 +277,11 @@ function distro_specify_initrd_file_phase2 {
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment