OSDN Git Service

releasetools: Support generating verify packages.
authorTao Bao <tbao@google.com>
Tue, 10 Nov 2015 00:58:28 +0000 (16:58 -0800)
committerTao Bao <tbao@google.com>
Tue, 10 Nov 2015 20:49:33 +0000 (12:49 -0800)
commit9bc6bb23b5bf64635275041fecace64635f41fba
tree7c20d9f1bef5cedbe864e5660520e70ead401676
parent767e3ac246c03a72834f80413ebcd7dceea4fc0b
releasetools: Support generating verify packages.

We can generate a special OTA package that verifies all the partitions
(boot, recovery, system, vendor and etc) on a device. It also calls
device-specific script to verify bootloader and radio images. This
ensures a flashed device contains all the desired images faithfully.

Usage:
ota_from_target_files.py --gen_verify target_files.zip output.zip

Bug: 24679956
Change-Id: Ib3091d98c4b17a6fad305b3edf16d09efbda5c38
tools/releasetools/common.py
tools/releasetools/edify_generator.py
tools/releasetools/ota_from_target_files.py