Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8adf661c authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Rebuild the vendor install-recovery if necessary." am: b4484dc3 am: 7828ef71

Change-Id: Ia9bb345af156dc68a66e419f4edb8c65d9ee1d4b
parents aa30fe14 7828ef71
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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.