summaryrefslogtreecommitdiff
path: root/scripts/update_payload/test_utils.py
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-03-26 12:47:05 -0700
committerYifan Hong <elsk@google.com>2020-04-08 11:16:27 -0700
commitcba9c46108cc230c20ecdebfd7d48b597a4e3faf (patch)
tree7a2738e3aa27f36ea63cd59a03fa523a56ff8b72 /scripts/update_payload/test_utils.py
parentcc8d4e8e69eb2dac876e3d5a4c0bcf4b1e97389f (diff)
Add DynamicPartitionControl::EraseSystemOtherAvbFooter
Erase AVB footer of system other partition prior to any updates so that if an update overwrites it partially, and the device rolled back (or even before we finish writing the partition), and the device factory resets, mapping system_other as /postinstall won't trigger verity errors and reboots the device. Fixes: 152444348 Test: apply update, rollback, then FDR Test: apply update, then set sys.cppreopt=requested; observe that /postinstall cannot be mounted. Change-Id: I62e5bb8f4c31d9a1beff485c47fc4b07a3a5686b (cherry picked from commit 2969290920696611a67aed184baf71cac062b416) Merged-In: I62e5bb8f4c31d9a1beff485c47fc4b07a3a5686b
Diffstat (limited to 'scripts/update_payload/test_utils.py')
0 files changed, 0 insertions, 0 deletions