platform_build/tools
Tao Bao 2b6dfd6689 Use computed salt for AVB-signed images.
We want the generated images being identical for the same source files.
Currently the generated ext4 image (either from make_ext4fs or mke2fs)
is reproducible, but the AVB footer added by avbtool contain changes
because of the random salt being used.

This CL changes the avbtool invocation to specify "--salt <hexstring>"
(already supported by avbtool) to use reproducible salt that's computed
based on fingerprints (or thumbprints if applicable).

Bug: 67023482
Test: Regenerate images from the same source as follows:
  Use a target_files.zip from an AVB-enabled target.
    $ zip -d target_files.zip IMAGES/\*
    $ ./build/make/tools/releasetools/add_img_to_target_files.py \
          -v target_files.zip
  Repeat the above commands and compare the generated images.
Change-Id: Id9db17ae0132ca3a820b4be5a5ef06ca3fef71ed
(cherry picked from commit 8f05cca1d9)
2017-09-29 10:47:40 -07:00
..
acp Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
apicheck Ensure prebuilt executables are executable 2016-04-11 11:21:47 -07:00
atree Convert to Android.bp 2017-09-09 13:47:34 -07:00
droiddoc Delete all of templates-sdk/. 2017-03-27 17:23:36 +00:00
fs_config Convert to Android.bp 2017-09-09 13:47:34 -07:00
fs_get_stats Convert to Android.bp 2017-09-09 13:47:34 -07:00
libhost Merge \\\\"Remove build/libs\\\\" am: fcb8a89c3b am: 3c48705b9b am: 947c5715f8 2016-06-17 18:23:07 +00:00
makeparallel Add -lm to the default libs for Linux & Darwin 2017-09-26 20:26:11 -07:00
releasetools Use computed salt for AVB-signed images. 2017-09-29 10:47:40 -07:00
signapk Don't include the dev-key on IOT products. 2017-04-03 15:04:35 -07:00
signtos
zipalign Convert to Android.bp 2017-09-09 13:47:34 -07:00
ziptime Switch some build tools to Soong 2016-06-06 14:51:52 -07:00
adbs
Android.mk Remove the need to find Android.mk files via directory symlinks 2017-08-07 14:21:20 -07: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
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py
checkowners.py Accept alternative email addresses. 2017-09-07 13:07:26 -07:00
compare_fileslist.py
dump-package-stats
event_log_tags.py
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
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 Split vendor license notices into vendor partition 2017-05-01 22:07:50 +00:00
java-event-log-tags.py
java-layers.py
merge-event-log-tags.py
mktarball.sh
normalize_path.py
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
parsedeps.py
post_process_props.py Merge "There's no longer a limit on property names." am: dda91dbef8 am: daac92eb51 2017-02-28 20:22:56 +00:00
print_module_licenses.sh
product_debug.py
soong_to_convert.py Remove DBus support. 2017-03-02 18:00:21 -08:00
vendor_buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
warn.py Find target keywords in the first 100 lines. 2017-06-07 23:17:13 +00:00