Kaynağa Gözat

update-binary: lazy unmount /system and /system_root

* Unsure why these don't want to unmount normally

Change-Id: I732d6f0309e668f64b31561362e93fd09707bafd
Dan Pasanen 7 yıl önce
ebeveyn
işleme
6a9b00f22b

+ 2 - 2
build/meta/com/google/android/update-binary

@@ -122,9 +122,9 @@ cd ../
 exec_util "rm -rf system/"
 exec_util "rm -rf system/"
 
 
 ui_print "Unmounting system partition"
 ui_print "Unmounting system partition"
-if umount /system; then
+if umount -l /system; then
   if [ "$SYSTEMASROOT" == "true" ]; then
   if [ "$SYSTEMASROOT" == "true" ]; then
-    umount /system_root
+    umount -l /system_root
   fi
   fi
 fi
 fi