summaryrefslogtreecommitdiff
path: root/aosp/dynamic_partition_control_android_unittest.cc
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-02-03 14:22:35 -0500
committerKelvin Zhang <zhangkelvin@google.com>2021-03-01 15:02:50 -0500
commitb93055f15cf30fbb50107fdc3a55867c2487e141 (patch)
tree44b097afeeeb5171ce4b210834a74ea2031c7794 /aosp/dynamic_partition_control_android_unittest.cc
parent4ab946d067562e018fc98d926a15c2492884225d (diff)
Add a util for converting ota payload to cow image
VAB team can use this tool to understand what real world COW images look like, and perhaps write unittests How to use this tool: 1. mm -j cow_converter 2. `unzip your_ota.zip payload.bin` 3. `unzip target_file.zip "IMAGES/*" -d /tmp/target_file 4. `cow_converter payload.bin /tmp/target_file/IMAGES` 5. inspect generated cow images `ls -l /tmp/target_file/IMAGES/*.cow` Test: cow_converter payload.bin /tmp/target_file/IMAGES Change-Id: I2c9d1ea566378e3350a048c40ff05a79d14873e8
Diffstat (limited to 'aosp/dynamic_partition_control_android_unittest.cc')
0 files changed, 0 insertions, 0 deletions