diff options
author | osm0sis <osm0sis@outlook.com> | 2020-01-15 11:49:40 -0400 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2020-01-15 11:49:40 -0400 |
commit | d225890532825ce338078c337e3bba28223bf6cc (patch) | |
tree | 203a86b00eb56072639fb663ab8a6dc2ec10dfa1 | |
parent | 3f60a5e1e2eb4d695911f89d903b6f6319ffceb5 (diff) |
Backend: don't attempt to unmount /system_root when booted
- work around booted flashing apps like FKM/EXKM which make /system busy to keep it from being unmounted but can't do the same with /system_root which can lead to sketchy behavior
-rwxr-xr-x | META-INF/com/google/android/update-binary | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 0dd5955..670bb2b 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -61,10 +61,10 @@ umount_all() { umount_apex; $bb umount /system; $bb umount -l /system; - fi; - if [ -e /system_root ]; then - $bb umount /system_root; - $bb umount -l /system_root; + if [ -e /system_root ]; then + $bb umount /system_root; + $bb umount -l /system_root; + fi; fi; umount /vendor; umount -l /vendor; |