brillo_update_payload: Extract Android target_files.zip.
When generating payloads for Brillo, we need to extract the partitions
from the target_files.zip image. This patch detects the format of the
old/new image and extract them accordingly.
CQ-DEPEND=CL:300654
BUG=b:23599483
TEST=brillo_update_payload generate --target_image dragonboard-target_files-2238075.zip --payload full-2238075.bin
Change-Id: I6e38bad35ef9d904e12232a10947f379fcd2acd7
Reviewed-on: https://chromium-review.googlesource.com/300626
Commit-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Jason Kusuma <jkusuma@chromium.org>
1 file changed
tree: 2adeb75d19b51e678cdc8503f75e066eee1ab336
- scripts/