platform_build/tools/releasetools
Tao Bao 57ae9a2234 Delay the write-back of misc_info in sign_target_files_apks.py.
Currently we're writing META/misc_info.txt to the new TF.zip during
ReplaceVerityPrivateKey(). We should delay that until we have replaced
everything in need. Otherwise we won't be able to replace/overwrite
that zip entry (unless `zip -d` first).

This CL also cleans up the return value of ReplaceVerityPublicKey() and
ReplaceVerityKeyId(), since the caller no longer needs the values.

Test: sign_target_files_apks.py and check the generated signed TF.zip.
Change-Id: I9fbd7182247728281519e5e3971557f6b018ad65
(cherry picked from commit 46a5999a02)
2017-06-28 11:07:34 -07:00
..
add_img_to_target_files
add_img_to_target_files.py AVB: support chain partition signing 2017-06-21 10:22:38 +08:00
blockimgdiff.py releasetools: Add a verbose parameter to common.Run(). 2017-05-04 11:18:56 -07:00
build_image.py AVB: support chain partition signing 2017-06-21 10:22:38 +08:00
check_ota_package_signature.py Change the default parameter values in common.MakeTempFile(). 2016-09-19 13:58:49 -07:00
check_target_files_signatures
check_target_files_signatures.py Revert "Revert "releasetools: Use pattern filter when unzipping."" 2017-03-05 13:11:42 -08:00
common.py AVB: support chain partition signing 2017-06-21 10:22:38 +08:00
edify_generator.py Fix the broken script in AssertFingerprintOrThumbprint. 2017-06-05 12:27:52 -07:00
img_from_target_files
img_from_target_files.py Remove the obsolete logic in img_from_target_files.py. 2017-05-31 11:17:56 -07:00
make_recovery_patch
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py AVB: support chain partition signing 2017-06-21 10:22:38 +08:00
ota_package_parser.py Add a script to parse an block-based ota package 2017-05-09 21:01:19 +00:00
pylintrc
rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
sign_target_files_apks
sign_target_files_apks.py Delay the write-back of misc_info in sign_target_files_apks.py. 2017-06-28 11:07:34 -07:00
sparse_img.py releasetools: Reduce memory footprint for BBOTA generation. 2017-03-06 08:46:30 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_blockimgdiff.py Fix unittest for blockimgdiff 2017-03-24 16:28:16 -07:00
test_common.py
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
validate_target_files.py releasetools: Add validate_target_files.py. 2017-04-05 09:04:13 -07:00