summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-05-13 20:07:51 -0700
committerAlex Deymo <deymo@google.com>2016-05-16 20:11:38 +0000
commita57ce77c1e7c0e7c1caa825e3f8ca204c3e5900a (patch)
tree4639d2802d1c91ea31969c131580b3955f0357da /scripts/update_payload/format_utils.py
parent3d0090674394076d6f998fc27f60b041e5718904 (diff)
payload_generator: Mark all zero blocks in the old partition as visited.
When processing duplicated and zeroed blocks, discard all the zeroed blocks from the source partition since it doesn't make sense to waste I/O reading them, and all the new zeroed blocks are taken care of in a different way. This also solves the problem that those zeroed blocks might actually not be written in the source slot when flashing an image with fastboot. Bug: 28626303 TEST=deployed an update on a device after flashing it with fastboot. Change-Id: I42012a84634a5b35f181b6b22e8a738ba3b70957
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions