Fix the issue that install media not recognized when install Clear Linux. (#1674)

This commit is contained in:
longpanda
2022-06-16 22:49:04 +08:00
parent 595b9441e9
commit 3ac17aa825
3 changed files with 58 additions and 0 deletions

View File

@@ -26,3 +26,6 @@ else
echo "find_installer" >> $VTLOG
$SED "/\$.*find_installer/i\ $BUSYBOX_PATH/sh $VTOY_PATH/hook/clear/disk-hook.sh" -i /init
fi
#issue 1674
$SED "/switch_root/i $BUSYBOX_PATH/sh $VTOY_PATH/hook/clear/hidden-hook.sh" -i /init