Files
build/core
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
..
2019-05-28 15:36:47 -07:00
2018-03-20 15:47:45 -07:00
2019-02-04 20:52:14 -08:00
2018-06-21 10:12:23 -07:00
2019-05-20 16:58:26 -07:00
2019-05-25 17:20:38 -07:00
2018-10-20 16:59:41 -07:00
2019-05-20 16:58:26 -07:00
2019-01-11 17:07:58 +09:00
2019-05-20 16:58:26 -07:00
2019-01-14 12:56:07 -08:00
2019-04-17 16:50:30 -07:00
2019-04-17 16:50:30 -07:00
2018-08-29 17:33:29 +00:00
2018-08-08 18:59:44 +08:00
2018-11-05 10:57:24 -08:00
2019-04-17 16:50:30 -07:00