update-binary: lazy unmount /system and /system_root
* Unsure why these don't want to unmount normally Change-Id: I732d6f0309e668f64b31561362e93fd09707bafd
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user