History log of /build/tools/releasetools/check_target_files_signatures
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6b0b2f9db0c7d89a678e5b0cb9dbffbec3d96f0b 05-Mar-2017 Tao Bao <tbao@google.com> Revert "Revert "releasetools: Use pattern filter when unzipping.""

This reverts commit a7316ce094d4635fa027a99840714af8e579184b.

This CL differs from the original CL by not unzipping RADIO/*. This is
because: a) AOSP targets don't have RADIO/ entries in the TF.zip; b)
we're not using the unzipped RADIO files (but reading them from the zip
files directly) - checked all the device-specific releasetools for
angler, bullhead, ryu, shamu, volantis, fugu, marlin and sailfish.

Test: `m dist` with AOSP targets (tested fugu and bullhead).
Change-Id: I4d0c67214ddd6202fc27c71bb79f52b5f4d40c64
/build/make/tools/releasetools/check_target_files_signatures.py
a7316ce094d4635fa027a99840714af8e579184b 05-Mar-2017 Tao Bao <tbao@google.com> Revert "releasetools: Use pattern filter when unzipping."

This reverts commit aa3a04f19de6b888be7f58d5e8cf37fe2725e949.

Reason for revert: Some AOSP targets don't include RADIO/ in the TF.zip. We may possibly skip unzipping RADIO/, or by always creating a dummy RADIO folder in TF.zip. Revert this CL for now.

Change-Id: I8e90d322706a4fe82129bdfab5ffa1eab989c648
/build/make/tools/releasetools/check_target_files_signatures.py
aa3a04f19de6b888be7f58d5e8cf37fe2725e949 04-Mar-2017 Tao Bao <tbao@google.com> releasetools: Use pattern filter when unzipping.

When building BBOTAs, it only needs *some* unzipped entries in the given
target_files zip(s). In particular, it needs 'IMAGES/*', 'META/*',
'RADIO/*'. (It also reads 'SYSTEM/build.prop' and 'OTA/bin/updater', but
directly from the zip file.)

This CL specifies the entries to unzip. It saves the I/O cost, as well as
the temporary storage.

Test: ota_from_target_files.py gives the same package w/ and w/o the CL.
Test: check_target_files_signatures.py still works.
Change-Id: I728428aa0e138879e49f9efbdb46a85892fc7038
/build/make/tools/releasetools/check_target_files_signatures.py
6a54299fbd16a3bd2051f08d5dbdaf94b95bf485 28-Jul-2016 Tao Bao <tbao@google.com> Handle multiple APKs from the same package in check_target_files_signatures.py.

We were using the package name as the key to index APKs. APKs from the
same package got messed up and gave wrong signature summary. Switch to
using the package filename as the key, which is identical in a given build.

Also fix the trailing space when printing the signature summary.

Bug: 30418268
Test: Run with a target_files.zip that has multiple APKs from the same package.

Change-Id: I6317e8c05e987c5690915e05c294153d10e2f0ab
/build/make/tools/releasetools/check_target_files_signatures.py
726b7f338f32ca6d18e9961b0a2da3ef385f7e34 04-Jun-2015 Tao Bao <tbao@google.com> Fix the broken signing script

check_target_files_signatures.py was accidentally broken due to the
renaming of a variable in last commit. It escaped the checking from
pylint because it was a keyword ('all').

Bug: 21611858
Change-Id: I58c983e59c4a3e0018481d3c9ba328ed76f5c08a
/build/make/tools/releasetools/check_target_files_signatures.py
8b72aefb5a8ed4da28c6f83854e8babf53b9cb53 24-Mar-2015 Dan Albert <danalbert@google.com> Make releasetools pylint clean.

This caught a few bugs/syntax errors (a few character classes were not
escaped properly in regex patterns, some indentation was illegal,
etc).

Change-Id: I50637607524e68c4fb9cad7167f58a46b8d26b2c
/build/make/tools/releasetools/check_target_files_signatures.py