commit | 2ae527fc3219031d198854192bcfe1e2f71c278b | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Oct 30 14:58:44 2018 -0700 |
committer | David Anderson <dvander@google.com> | Mon Nov 05 19:57:47 2018 +0000 |
tree | c73bc0eb0a1e14f747ed4cfc6584442b85e4458c | |
parent | 87319a17092466b5493ac1c432dc100ecbfe9e7e [diff] |
liblp: Fix flashing metadata to multiple block devices. Although metadata is only stored on the first block device, we ideally want to validate all the block devices before flashing. This patch does that and in the process converts ValidateAndSerializeMetadata to use IPartitionOpener. Bug: 116802789 Test: manual test liblp_test gtest Change-Id: I3f24cfc6f5607309dc3cded0423326c5ba293d26