"git@developer.sourcefind.cn:change/sglang.git" did not exist on "dc9d06d886151707f97d0b78095df9de262fd3c9"
Commit b3c2bcf5 authored by longpanda's avatar longpanda
Browse files

Fix the issue that SLES/OpenSUSE can not boot after install. (#3125)

parent 4e8d8b2e
......@@ -26,6 +26,12 @@ if [ -f $VTOY_PATH/autoinstall ]; then
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 [ -f /linuxrc.config ]; then
vtKerVer=$($BUSYBOX_PATH/uname -r)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment