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
b3c2bcf5
Commit
b3c2bcf5
authored
Feb 20, 2025
by
longpanda
Browse files
Fix the issue that SLES/OpenSUSE can not boot after install. (#3125)
parent
4e8d8b2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
+6
-0
No files found.
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
View file @
b3c2bcf5
...
@@ -26,6 +26,12 @@ if [ -f $VTOY_PATH/autoinstall ]; then
...
@@ -26,6 +26,12 @@ if [ -f $VTOY_PATH/autoinstall ]; then
fi
fi
fi
fi
if
$GREP
-q
'rdinit=/vtoy/vtoy'
/proc/cmdline
;
then
echo
"remove rdinit param"
>>
$VTLOG
echo
"ptoptions=+rdinit"
>>
/linuxrc.config
fi
if
$BUSYBOX_PATH
/ls
$VTOY_PATH
|
$GREP
-q
'ventoy_dud[0-9]'
;
then
if
$BUSYBOX_PATH
/ls
$VTOY_PATH
|
$GREP
-q
'ventoy_dud[0-9]'
;
then
if
[
-f
/linuxrc.config
]
;
then
if
[
-f
/linuxrc.config
]
;
then
vtKerVer
=
$(
$BUSYBOX_PATH
/uname
-r
)
vtKerVer
=
$(
$BUSYBOX_PATH
/uname
-r
)
...
...
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