summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-06-10 16:54:47 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2016-06-14 19:51:33 +0000
commit26dd80fb16617f0d78be938a9e2592f2c0e50365 (patch)
tree4d00429abd173d2bc463bf366f77b1c5efa20026 /scripts/update_payload/format_utils.py
parent9730679339fbf3e52a706dcab36eaeffbc71e404 (diff)
Generate SOURCE_COPY and ZERO operations beyond the end of the filesystem.
This patch analyzes the whole partition size, regardless of what the size of the filesystem in the partition is. This makes the blocks in the ext2 partitions past the end of the filesystem (normally verity hashes) be compared against the old blocks and produce SOURCE_COPY operations for those as well if possible. Bug: 29272878 TEST=Generated a payload to itself of a build with verity hashes, only SOURCE_COPY (and REPLACE_BZ of zeroed blocks) are produced. Change-Id: If7f2733da41c333d4a8247b1473ad06fb63466d6
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions