summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-04-09 10:11:34 -0700
committerYifan Hong <elsk@google.com>2019-04-15 15:11:28 -0700
commit402633d6057697857cbaa5e87689ff373549f426 (patch)
tree43dc4ff66f664d4df8d8486e09cf6a94dfc6fbfc /libsparse/sparse.cpp
parentf14652c30b8140a6e14970adeda4912063ad22c3 (diff)
init: add umount_all builtin.
umount_all is the cleanup step for mount_all. In particular, the mount_all builtin creates a verity device, 'postinstall-verity', for the following line: system /postinstall ... ... slotselect_other,logical,avb_keys=... cppreopt umounts /postinstall but doesn't destroy the postinstall-verity device, causing OTA to fail (because it cannot destroy the system_[other] device). umount_all also destroy the verity device. Note that mount_all does not map system_[other]; it is mapped by first stage init. Hence, umount_all doesn't destroy it either. The OTA client is reponsible for unmapping the device itself. Bug: 129988285 Test: flash, boot, then check `dmctl list devices`, then OTA Change-Id: Id3ab65b3860b6ea6cfec310ab13652009c81f415 Merged-In: Id3ab65b3860b6ea6cfec310ab13652009c81f415
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions