diff options
author | David Anderson <dvander@google.com> | 2018-07-17 15:32:00 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-07-17 18:37:46 -0700 |
commit | ce483b6f06a55110baa80ed77afd8b9699ea5951 (patch) | |
tree | df7f7647f84cb1077a4e15d205e7ae5b8d1d4787 /debuggerd/handler/debuggerd_handler.cpp | |
parent | cb140c04c918c0769c334c0567db855e3a143b70 (diff) |
liblp: Allow specifying a custom block size when building sparse images.
liblp currently creates sparse files with a block size of 512 bytes.
Unfortunately devices can reject sparse files that don't have a specific
block size. To accomodate this, SparseBuilder now requires that
partition metadata be built with an explicit block size, and the device
alignment must be a multiple of that block size.
This change also modifies SerializeGeometry to automatically include
0-padding to 4096 bytes.
Bug: 79173901
Test: lpmake -S can be flashed with fastboot to walleye
Change-Id: Iab04f6f55bb373e21767963335c85ad1119a65a7
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions