summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-01-10 13:49:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-01-10 13:49:55 +0000
commitb4484dc33bea149b5a271ad9f2bc1bd27ebbc126 (patch)
tree081f609785f912555828ddb1505eeda33a512262
parent88ab5318318219d6838e617082f4587baf18f98d (diff)
parentda427de1243962206ad15e28c36ee921c1f211b1 (diff)
Merge "Rebuild the vendor install-recovery if necessary."
-rwxr-xr-xtools/releasetools/sign_target_files_apks.py7
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.