diff options
author | Chris Renshaw <osm0sis@outlook.com> | 2019-08-13 09:16:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-13 09:16:34 -0300 |
commit | ff4f310e3a2beb0c25e73b78a1cf924eee73761f (patch) | |
tree | 0c979a146f7699c3a20732717e17d06bd4f896a5 | |
parent | 01db339f65f15cabf13f5011254a7349c6f55de6 (diff) |
Backend: support TWRP devices with /system_root in fstab
-rwxr-xr-x | META-INF/com/google/android/update-binary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index afaebbb..260ea54 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -127,7 +127,7 @@ if [ -f /system/system/build.prop ]; then if [ $? != 0 ]; then $bb umount /system; $bb umount /system 2>/dev/null; - $bb mount -o ro -t auto /dev/block/bootdevice/by-name/system /system_root; + $bb mount -o ro -t auto /system_root || $bb mount -o ro -t auto /dev/block/bootdevice/by-name/system /system_root; fi; $bb mount -o bind /system_root/system /system; fi; |