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:
parent
12914fac70
commit
6a9b00f22b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user