forked from openkylin/platform_build
Merge "releasetools: Skip copying split super images while signing."
am: 774c0f92bf
Change-Id: I6c88a82476f9b3d4febb71f98e4c9a118a3d67d3
This commit is contained in:
commit
2db2039202
|
@ -309,6 +309,10 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
|
|||
if filename.startswith("IMAGES/"):
|
||||
continue
|
||||
|
||||
# Skip split super images, which will be re-generated during signing.
|
||||
if filename.startswith("OTA/") and filename.endswith(".img"):
|
||||
continue
|
||||
|
||||
data = input_tf_zip.read(filename)
|
||||
out_info = copy.copy(info)
|
||||
(is_apk, is_compressed, should_be_skipped) = GetApkFileInfo(
|
||||
|
|
Loading…
Reference in New Issue