4978fa99d1
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 |
||
---|---|---|
.. | ||
acp | ||
apicheck | ||
atree | ||
docker | ||
droiddoc | ||
fs_config | ||
fs_get_stats | ||
libhost | ||
makeparallel | ||
releasetools | ||
signapk | ||
signtos | ||
zipalign | ||
ziptime | ||
auto_gen_test_config.py | ||
auto_gen_test_config_test.py | ||
brillo-clang-format | ||
buildinfo.sh | ||
buildinfo_common.sh | ||
check_builds.sh | ||
check_elf_file.py | ||
check_identical_lib.sh | ||
check_link_type.py | ||
check_radio_versions.py | ||
checkowners.py | ||
compare_fileslist.py | ||
dump-package-stats | ||
event_log_tags.py | ||
extract_kernel.py | ||
fat16copy.py | ||
fileslist_util.py | ||
filter-product-graph.py | ||
findleaves.py | ||
fixlinebreaks.sh | ||
generate-enforce-rro-android-manifest.py | ||
generate-notice-files.py | ||
java-event-log-tags.py | ||
java-layers.py | ||
merge-event-log-tags.py | ||
mktarball.sh | ||
normalize_path.py | ||
OWNERS | ||
parsedeps.py | ||
post_process_props.py | ||
print_module_licenses.sh | ||
product_debug.py | ||
soong_to_convert.py | ||
test_extract_kernel.py | ||
warn.py |