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

Commit 8fead691 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22448 into donut

* changes:
  incremental OTAs should remove /system/recovery.img
parents 72a5cc82 3b949f07
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -618,7 +618,8 @@ def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip):
  script.Print("Removing unneeded files...")
  script.DeleteFiles(["/"+i[0] for i in verbatim_targets] +
                     ["/"+i for i in sorted(source_data)
                            if i not in target_data])
                            if i not in target_data] +
                     ["/system/recovery.img"])

  if updating_boot:
    # Produce the boot image by applying a patch to the current