From ccb8ca0483ddd6b121bf524148dc0aae90bf73cf Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Wed, 3 Apr 2019 22:19:30 +0200 Subject: [PATCH] Uninstaller: update mount code --- uninstaller/META-INF/com/google/android/update-binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uninstaller/META-INF/com/google/android/update-binary b/uninstaller/META-INF/com/google/android/update-binary index b248646..4e2dc53 100644 --- a/uninstaller/META-INF/com/google/android/update-binary +++ b/uninstaller/META-INF/com/google/android/update-binary @@ -173,7 +173,7 @@ mount_partitions () { if [ ! -f /system/build.prop ]; then SYSTEMBLOCK=$(find /dev/block -iname system${SLOT} | head -n 1) - mount -t ext4 -o rw ${SYSTEMBLOCK} /system + mount -o rw ${SYSTEMBLOCK} /system fi [ -f /system/build.prop ] || is_mounted /system || error "failed to mount /system (unsupported A/B device?)" @@ -190,7 +190,7 @@ mount_partitions () { ! is_mounted /vendor && mount /vendor if ! is_mounted /vendor; then VENDORBLOCK=$(find /dev/block -iname vendor${SLOT} | head -n 1) - mount -t ext4 -o ro ${VENDORBLOCK} /vendor + mount -o ro ${VENDORBLOCK} /vendor fi elif [ -d /system/vendor ]; then ### XXX work-around required for some ROMs