diff options
author | 2020-01-10 13:49:55 +0000 | |
---|---|---|
committer | 2020-01-10 13:49:55 +0000 | |
commit | b4484dc33bea149b5a271ad9f2bc1bd27ebbc126 (patch) | |
tree | 081f609785f912555828ddb1505eeda33a512262 | |
parent | 88ab5318318219d6838e617082f4587baf18f98d (diff) | |
parent | da427de1243962206ad15e28c36ee921c1f211b1 (diff) |
Merge "Rebuild the vendor install-recovery if necessary."
-rwxr-xr-x | tools/releasetools/sign_target_files_apks.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py index 35b11c1838..fffbace0e2 100755 --- a/tools/releasetools/sign_target_files_apks.py +++ b/tools/releasetools/sign_target_files_apks.py @@ -552,8 +552,13 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info, # Ask add_img_to_target_files to rebuild the recovery patch if needed. elif filename in ("SYSTEM/recovery-from-boot.p", + "VENDOR/recovery-from-boot.p", + "SYSTEM/etc/recovery.img", - "SYSTEM/bin/install-recovery.sh"): + "VENDOR/etc/recovery.img", + + "SYSTEM/bin/install-recovery.sh", + "VENDOR/bin/install-recovery.sh"): OPTIONS.rebuild_recovery = True # Don't copy OTA certs if we're replacing them. |