summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-08-19 13:35:11 -0700
committerDavid Anderson <dvander@google.com>2020-08-19 13:58:09 -0700
commitc6815835927059630597f2e602888952ad3d147c (patch)
tree25211bdca67170b5e325dc2b26f4f9fc273d230c /libutils/Unicode.cpp
parent5c707be3f30e781b07b55d5346916406fb0f3b29 (diff)
libsnapshot: Off-line tool for converting OTA payloads to COWs.
The A/B version of this tool takes in a payload.bin file (from an OTA package), and converts it into COWs in the new format. It uses the CowWriter API to do this. This tool can be used to precisely see the size of a COW relative to an OTA. Since there is one COW per partition, it also takes an output folder: make_cow_from_ab_ota payload.bin ./ota-cows/ If the payload is incremental, a source target-files package is needed. It must be the exact package used to build the OTA, otherwise, the conversion is likely to fail. Example: make_cow_from_ab_ota -source_tf target-files-XYZ.zip \ payload.bin ./ota-cows/ Bug: 162274240 Test: manual tests Change-Id: I22c86546f4166ee9df99165399646b7daa3519d5
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions