OSDN Git Service

Fix metadata location when file system doesn't span the partition
authorSami Tolvanen <samitolvanen@google.com>
Tue, 9 Feb 2016 20:28:58 +0000 (12:28 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Wed, 10 Feb 2016 17:37:59 +0000 (09:37 -0800)
commit6a8781a25113b9b49dddc8c8e043c27d5a943e3a
tree3a4ca1c229176bd3e257e49b5c3e898731d5f014
parent74606c40cdf0552c58b07b1477e79690e6037930
Fix metadata location when file system doesn't span the partition

Pad the sparse image with a zero fill chunk to correctly position
verity and FEC metadata at the end of the partition.

Bug: 27073791
Change-Id: I9f70d579a42e5007d50e9c02a98a608d2815f0ed
tools/releasetools/build_image.py
tools/releasetools/sparse_img.py