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
042ca4b5
Unverified
Commit
042ca4b5
authored
Apr 27, 2021
by
panchenbo
Committed by
GitHub
Apr 27, 2021
Browse files
add support for UnionTechOS fuyu (#864)
parent
e1099e1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_chain.sh
+3
-0
IMG/cpio/ventoy/ventoy_loop.sh
IMG/cpio/ventoy/ventoy_loop.sh
+2
-0
No files found.
IMG/cpio/ventoy/ventoy_chain.sh
View file @
042ca4b5
...
...
@@ -153,7 +153,10 @@ ventoy_get_os_type() {
echo
'rhel7'
;
return
elif
$GREP
-q
'openEuler'
/etc/os-release
;
then
echo
'openEuler'
;
return
elif
$GREP
-q
'fuyu'
/etc/os-release
;
then
echo
'openEuler'
;
return
fi
fi
if
$BUSYBOX_PATH
/dmesg |
$GREP
-q
-m1
"Xen:"
;
then
...
...
IMG/cpio/ventoy/ventoy_loop.sh
View file @
042ca4b5
...
...
@@ -198,6 +198,8 @@ ventoy_get_os_type() {
echo
'rhel7'
;
return
elif
$GREP
-q
'openEuler'
/etc/os-release
;
then
echo
'openEuler'
;
return
elif
$GREP
-q
'fuyu'
/etc/os-release
;
then
echo
'openEuler'
;
return
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