Fix mounting on SAR/AB devices

This commit is contained in:
Paul Keith
2019-06-15 05:13:28 +02:00
부모 b5f67c83db
커밋 dc45a21104

파일 보기

@@ -48,7 +48,7 @@ if [ "$SYSTEMASROOT" == "true" ]; then
TARGETSYSTEM=/dev/block/bootdevice/by-name/system
fi
mkdir -p /system_root
if mount -o rw $TARGETSYSTEM /system_root && mount /system_root/system /system; then
if mount -o rw $TARGETSYSTEM /system_root && mount -o bind /system_root/system /system; then
ui_print "/system mounted"
else
ui_print "Could not mount /system! Aborting"