From dc45a21104dd989117614918bc59e1d5e33aa6ee Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Sat, 15 Jun 2019 05:13:28 +0200 Subject: [PATCH] Fix mounting on SAR/AB devices --- build/meta/com/google/android/update-binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/meta/com/google/android/update-binary b/build/meta/com/google/android/update-binary index 21d6c3d..c78a1d3 100644 --- a/build/meta/com/google/android/update-binary +++ b/build/meta/com/google/android/update-binary @@ -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"