platform_build/tools
Tao Bao 4978fa99d1 Rebuild recovery-from-boot patch when calling add_img_to_target_files.
When using Verified Boot 2.0, releasetools specifies a salt value based
on build fingerprint, so that to give idempotent images.

However, the change that removed static `ro.build.fingerprint` [1] broke
the behavior, as common.LoadInfoDict still relies on fingerprints.
Without a fixed salt, the first call to make_recovery_patch.py and the
second one (which writes IMAGES/{boot,recovery}.img) will see different
images, which leads to install-recovery.sh failure.

Note that currently there's a dependency that requires getting bootable
images through two separate calls. make_recovery_patch.py has to happen
first to get (placeholder) files in the system image. We then generate
canned fs_config files, and finally use add_img_to_target_files.py to
write the images.

This CL adds a quick workaround to force rebuilding the
recovery-from-boot patch while calling add_img_to_target_files.py.

[1] https://android-review.googlesource.com/c/platform/build/+/892933

Bug: 134123803
Bug: 134525174
Test: TreeHugger
Test: Build a non-A/B target that uses AVB. Run validate_target_files.py
      on the generated target_files.zip.
Change-Id: I5859e30be63bfd54398cf41fd2d907f15285f560
2019-06-04 22:44:45 -07:00
..
acp
apicheck Convert apicheck tool build to Soong. 2018-05-15 11:38:44 +09:00
atree Fix implicit-fallthrough warning. 2018-10-16 11:50:18 -07:00
docker docker: update sha256sum for repo version 1.25 2019-04-11 13:25:33 +03:00
droiddoc Merge "Remove more Android.mk files from build/make" am: ebe0b7a1c9 2019-01-07 09:54:57 -08:00
fs_config fs_config: Fix cases without vendor/oem partition 2019-05-29 22:24:05 +02:00
fs_get_stats
libhost Fix / suppress warnings for clang+mingw 2017-11-29 20:54:33 -08:00
makeparallel
releasetools Rebuild recovery-from-boot patch when calling add_img_to_target_files. 2019-06-04 22:44:45 -07:00
signapk Remove more Android.mk files from build/make 2019-01-05 02:40:45 +00:00
signtos Make host targets use non-repackaged targets 2018-07-23 13:00:32 +01:00
zipalign Move zipalign off NO_ERROR. 2018-10-08 11:19:28 -07:00
ziptime
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
buildinfo.sh Write ro.build.ab_update to /vendor/build.prop. 2019-04-22 21:08:25 -07:00
buildinfo_common.sh Rename DEVICE arg in common buildprops script 2019-03-12 18:03:23 +00:00
check_builds.sh Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
check_elf_file.py Update check_elf_file.py for clang-r353983 2019-03-20 15:24:00 +08:00
check_identical_lib.sh Add support for no-vendor-variant VNDK 2019-03-20 10:23:04 -07:00
check_link_type.py
check_radio_versions.py
checkowners.py Accept the "file:(project:)?filePath" directive. 2019-03-12 11:56:33 -07:00
compare_fileslist.py
dump-package-stats
event_log_tags.py
extract_kernel.py Add kernel info to compatibility.zip 2019-01-30 13:28:03 -08:00
fat16copy.py
fileslist_util.py
filter-product-graph.py
findleaves.py findleaves: Fix typo for --dir argument 2018-08-16 02:30:45 +02:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
generate-notice-files.py Include /product_services software in NOTICE. 2018-08-28 18:06:39 +01:00
java-event-log-tags.py
java-layers.py
merge-event-log-tags.py
mktarball.sh
normalize_path.py
OWNERS Use multiple globs/emails in per-file syntax 2018-08-20 14:16:04 -07:00
parsedeps.py
post_process_props.py
print_module_licenses.sh
product_debug.py
soong_to_convert.py Add java modules to soong_to_convert.txt 2017-12-06 15:38:52 -08:00
test_extract_kernel.py Add kernel info to compatibility.zip 2019-01-30 13:28:03 -08:00
warn.py Build: update warn.py for Errorprone 2.3.2 2018-10-15 08:56:58 -07:00