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:
Dan Pasanen 2018-03-17 06:13:40 -05:00
parent 12914fac70
commit 6a9b00f22b

View File

@ -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