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

Commit 9814cb6b authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "releasetools: Remove the mismatch map files when generating retrofit OTAs."

parents 638ca85a 03fecb66
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1760,8 +1760,9 @@ def GetTargetFilesZipForRetrofitDynamicPartitions(input_file,
  # is a regular update on devices without dynamic partitions support.
  to_delete += [DYNAMIC_PARTITION_INFO]

  # Remove the existing partition images.
  # Remove the existing partition images as well as the map files.
  to_delete += replace.values()
  to_delete += ['IMAGES/{}.map'.format(dev) for dev in super_block_devices]

  common.ZipDelete(target_file, to_delete)