platform_build/tools
Tao Bao 02a0859b3c releasetools: Support verifying AVB signed images with chained partitions.
For example, verify a target_files.zip that has system AVB-signed as a
chained partition.

  $ build/make/tools/releasetools/validate_target_files.py \
      signed-target_files-4904652.zip \
      --verity_key verifiedboot_pub.pem \
      --avb_system_key_path system_pub.pem

Note that verifiedboot_pub.pem should be the key (either public or
private) to verify vbmeta.img, and 'system_pub.pem' should be the key
(either public or private) for the chained partition of system.

testdata/testkey.key is the private key converted from
testdata/testkey.pk8 for testing purpose (`openssl pkcs8 -in
testdata/testkey.pk8 -inform DER -out testdata/testkey.key -nocrypt`).

Bug: 63706333
Test: python -m unittest test_common
Test: python -m unittest test_add_img_to_target_files
Test: `m dist` on aosp_walleye-userdebug; Run validate_target_files.py
      on the generated target_files.zip.
Test: Set up walleye with chained system partition; `m dist`; Run
      validate_target_files.py on the generated target_files.zip.
Change-Id: I38517ab39baf8a5bc1a6062fab2fe229b68e897d
2018-07-23 15:20:14 -07:00
..
acp Use -Werror in build/make 2017-10-03 13:53:13 -07:00
apicheck Convert apicheck tool build to Soong. 2018-05-15 11:38:44 +09:00
atree Use -Werror in build/make 2017-10-03 13:53:13 -07:00
docker Add USER to the docker environment 2018-04-12 16:41:17 -07:00
droiddoc Remove make/tools/droiddoc/test/stubs/Android.mk 2018-04-12 17:00:25 -07:00
fs_config Split up fs_config_* modules per partition. 2018-06-27 11:15:59 +01:00
fs_get_stats Use -Werror in build/make 2017-10-03 13:53:13 -07:00
libhost Fix / suppress warnings for clang+mingw 2017-11-29 20:54:33 -08:00
makeparallel Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
releasetools releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00
signapk Add zip hint generation support to signapk tool 2018-05-10 14:39:20 -07:00
signtos Convert signtos to Android.bp 2017-11-21 03:26:31 +00:00
zipalign zipalign: Fix build failure in static_sdk_tools. 2017-11-06 11:12:08 -08:00
ziptime Use -Werror in build/make 2017-10-03 13:53:13 -07:00
Android.mk Remove the need to find Android.mk files via directory symlinks 2017-08-07 14:21:20 -07:00
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
auto_gen_test_config.py Default test to AndroidJUnitTest for auto-generated test config. 2018-02-21 11:31:06 -08:00
auto_gen_test_config_test.py Default test to AndroidJUnitTest for auto-generated test config. 2018-02-21 11:31:06 -08:00
brillo-clang-format Include Brillo's cannonical .clang-format file. 2016-02-16 14:29:45 -08:00
buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
check_builds.sh Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py fix build: make check_radio_versions.py okay with no args 2012-03-21 10:01:01 -07:00
checkowners.py Do not use o=ALL_EMAILS parameter. 2018-05-16 11:44:50 -07:00
compare_fileslist.py
dump-package-stats Ignore zip comments in dump-package-stats 2017-10-03 18:57:18 -07:00
event_log_tags.py check syntax of description field in logtags files 2011-01-23 12:57:19 -08:00
fat16copy.py fat16copy: Allow to copy files to an existing directory. 2017-02-13 16:00:07 +00:00
fileslist_util.py build: tools: Add json collection of installed files with hashes. 2016-10-20 10:07:13 -07:00
filter-product-graph.py make product-graph now filtered 2012-08-16 22:45:55 -07:00
findleaves.py findleaves.py: prevent recursion into symlink loops 2016-11-03 14:29:40 -07:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py Enforce RROs for all the build-time ROs 2017-03-30 10:43:38 +09:00
generate-notice-files.py Silence superfluous build messages. 2017-11-15 10:34:01 -08:00
java-event-log-tags.py Allow converting logtags to java without merged logtags file 2017-11-16 14:58:05 -08:00
java-layers.py Add a tool to let you enforce layering between packages in a java module. 2012-10-20 17:25:55 -07:00
merge-event-log-tags.py fix merge-event-log-tags.py deprecation warning 2012-09-20 11:50:34 -07:00
mktarball.sh fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
normalize_path.py Normalize the product makefile path in inherit-product. 2015-10-28 15:20:41 -07:00
parsedeps.py Add tool to parse make dependency info from new --deps flag. 2012-08-16 22:45:55 -07:00
post_process_props.py Merge "Allow ro. properties to have arbitrary lengths" 2017-10-17 22:42:04 +00:00
print_module_licenses.sh
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
soong_to_convert.py Add java modules to soong_to_convert.txt 2017-12-06 15:38:52 -08:00
vendor_buildinfo.sh Rename ro.vendor.product.* to ro.product.vendor.* 2017-11-01 10:11:32 +09:00
warn.py Escape special HTML characters in warning messages. 2018-07-20 15:36:26 -07:00