mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-02-22 11:02:34 -05:00
Fix the issue that SLES/OpenSUSE can not boot after install. (#3125)
This commit is contained in:
parent
4e8d8b2e19
commit
b3c2bcf58f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user