forked from openkylin/platform_build
3ed35d3d25
We used to support getting idempotent images when given the same inputs, by specifying UUID and AVB salt to the image builders. The support was broken by Q changes that moved away from build-time fingerprints [1]. This CL addresses the issue by updating the logic in computing UUID and AVB salt to be based on BuildInfo.fingerprint, as opposed to the deprecated static build fingerprint. [1] https://android-review.googlesource.com/c/platform/build/+/892933 Bug: 134525174 Test: TreeHugger Test: lunch a target; `atest --host releasetools_test releasetools_py3_test` Test: `m dist`; `unzip out/dist/target_files.zip IMAGES/\*`; `zip -d out/dist/target_files.zip IMAGES/\*` Test: `add_img_to_target_files -a out/dist/target_files.zip`. Verify that the rebuilt images are identical to the ones deleted. Change-Id: I8844fc7f044e9abfcd96a00e8958fa0583c70eaf |
||
---|---|---|
.. | ||
acp | ||
apicheck | ||
atree | ||
docker | ||
droiddoc | ||
fs_config | ||
fs_get_stats | ||
libhost | ||
releasetools | ||
signapk | ||
signtos | ||
zipalign | ||
ziptime | ||
OWNERS | ||
auto_gen_test_config.py | ||
auto_gen_test_config_test.py | ||
brillo-clang-format | ||
buildinfo.sh | ||
buildinfo_common.sh | ||
check_elf_file.py | ||
check_identical_lib.sh | ||
check_radio_versions.py | ||
checkowners.py | ||
compare_fileslist.py | ||
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 | ||
generate-self-extracting-archive.py | ||
java-event-log-tags.py | ||
java-layers.py | ||
merge-event-log-tags.py | ||
normalize_path.py | ||
parsedeps.py | ||
post_process_props.py | ||
print_module_licenses.sh | ||
product_debug.py | ||
soong_to_convert.py | ||
test_extract_kernel.py | ||
warn.py |