diff options
author | David Anderson <dvander@google.com> | 2018-07-17 18:42:43 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-07-18 16:53:42 -0700 |
commit | 9555f3dcf6f284348f70feef3c185df8a7d5773c (patch) | |
tree | af9a0591b50cd23284ed1bbdced913586d81df02 /libsparse/sparse.cpp | |
parent | ce483b6f06a55110baa80ed77afd8b9699ea5951 (diff) |
liblp: Allow packing partition data into super images.
This change allows partition data to be included in the sparse image for
the super partition. The data is specified as a map from partition name
to partition image file. The image file can either be a normal file or a
sparse image. If it is sparse, it is unpacked into a temporary file and
then re-packed into the super image.
Bug: 79173901
Test: (1) lpmake -S with a partition image flashes to walleye.
(2) The image can be mounted if it contains a filesystem.
(3) simg2img will successfully unpack the image.
Change-Id: I98e9af3bfec9863143c1b95a1712b1d435942542
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions