summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-06-10 16:54:47 -0700
committerAlex Deymo <deymo@google.com>2016-06-15 16:03:23 -0700
commit40e13c041b07e1e1566c8de9b50cfcd6ab08649c (patch)
tree63fdcc4f6c6db2f894b536b3e0f3e807ff747c16 /scripts/update_payload/format_utils_unittest.py
parent0ee98439a9f4fa1ff7a97050147d49528c99a9b3 (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. (cherry picked from commit 26dd80fb16617f0d78be938a9e2592f2c0e50365) Change-Id: I266332405b752e90d18dfeb3d42aa684233b3032
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions