forked from openkylin/platform_build
Merge "releasetools: Skip copying split super images while signing." am: 774c0f92bf
am: 2db2039202
Change-Id: Ie73f72e7c7eb460156a160361c385aa6c881658e
This commit is contained in:
commit
f2cc65ba23
|
@ -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