From 6a9b00f22b1a5cd94eca26c8e4b6f8a3ebfb3071 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Sat, 17 Mar 2018 06:13:40 -0500 Subject: [PATCH] update-binary: lazy unmount /system and /system_root * Unsure why these don't want to unmount normally Change-Id: I732d6f0309e668f64b31561362e93fd09707bafd --- build/meta/com/google/android/update-binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/meta/com/google/android/update-binary b/build/meta/com/google/android/update-binary index 8e2ce68..0739eb3 100644 --- a/build/meta/com/google/android/update-binary +++ b/build/meta/com/google/android/update-binary @@ -122,9 +122,9 @@ cd ../ exec_util "rm -rf system/" ui_print "Unmounting system partition" -if umount /system; then +if umount -l /system; then if [ "$SYSTEMASROOT" == "true" ]; then - umount /system_root + umount -l /system_root fi fi