Merge "fixup! Allow ota_from_target_file to work entirely on directories" am: d60dbf9773
am: 980458ae17
am: 08fc8461a1
am: ecc527eb52
Original change: https://android-review.googlesource.com/c/platform/build/+/2617616 Change-Id: I2f5919120420d023eb39f3c56221c2c7d704c92f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
767c3aa430
1 changed files with 2 additions and 0 deletions
|
@ -1063,6 +1063,8 @@ def GenerateAbOtaPackage(target_file, output_file, source_file=None):
|
|||
# ZIP_STORED.
|
||||
common.ZipWriteStr(output_zip, care_map_name, care_map_data,
|
||||
compress_type=zipfile.ZIP_STORED)
|
||||
# break here to avoid going into else when care map has been handled
|
||||
break
|
||||
else:
|
||||
logger.warning("Cannot find care map file in target_file package")
|
||||
|
||||
|
|
Loading…
Reference in a new issue