diff options
author | Yifan Hong <elsk@google.com> | 2019-04-09 10:11:34 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-04-15 10:22:57 -0700 |
commit | 81f13855895c9c0a890520f2da9985cb0aa75e09 (patch) | |
tree | a7b3136dc9f2327baa0f97ad8813157793dada45 /debuggerd/handler/debuggerd_handler.cpp | |
parent | e5c4d62ba3fca09fed86ec605542b2be74a59851 (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
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions