diff --git a/build/meta/com/google/android/update-binary b/build/meta/com/google/android/update-binary index 1a72b3a..5e76f04 100644 --- a/build/meta/com/google/android/update-binary +++ b/build/meta/com/google/android/update-binary @@ -34,14 +34,8 @@ ui_print "Mounting /system" if mount /system; then ui_print "/system mounted" else - # Try to get the block from /etc/recovery.fstab - block=`cat /etc/recovery.fstab | cut -d '#' -f 1 | grep /system | grep -o '/dev/[^ ]*' | head -1` - if [ -n "$block" ] && mount $block /system; then - ui_print "Could not mount /system! Aborting" - exit 1 - else - ui_print "/system mounted" - fi + ui_print "Could not mount /system! Aborting" + exit 1 fi if [ -f /system/bin/toybox ]; then