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
25dc3235
Commit
25dc3235
authored
Dec 24, 2021
by
longpanda
Browse files
Support CentOS-9-Stream (#1335)
parent
446597d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
+4
-1
No files found.
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
View file @
25dc3235
...
...
@@ -92,7 +92,8 @@ if [ -f /etc/system-release ]; then
vtNeedRepo
=
"yes"
fi
fi
if
$GREP
-q
el8 /proc/version
;
then
if
$GREP
-q
'el[89]'
/proc/version
;
then
vtNeedRepo
=
"yes"
fi
...
...
@@ -102,6 +103,8 @@ if $GREP -i -q Fedora /proc/version; then
fi
fi
echo
"vtNeedRepo=
$vtNeedRepo
"
>>
$VTLOG
if
[
"
$vtNeedRepo
"
=
"yes"
]
;
then
$BUSYBOX_PATH
/cp
-a
$VTOY_PATH
/hook/rhel7/ventoy-repo.sh /lib/dracut/hooks/pre-pivot/99-ventoy-repo.sh
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