diff options
author | 2023-04-14 21:32:54 +0000 | |
---|---|---|
committer | 2023-04-14 21:32:54 +0000 | |
commit | f92f7f046a07b79ce768692c7500cc74f733aa55 (patch) | |
tree | 437caeadf1fb2a0bc13bf38625d7d7f2c5641acd /tools/releasetools/apex_utils.py | |
parent | 37a4290909717577731bc53c8f4ccd72c4d4d5d5 (diff) |
Revert "Remove all ZIP64LIMIT hack"
This reverts commit 37a4290909717577731bc53c8f4ccd72c4d4d5d5.
Reason for revert: b/278156419
Change-Id: I67ea667619a9623be849d911993010ef0f0bfd88
Diffstat (limited to 'tools/releasetools/apex_utils.py')
-rw-r--r-- | tools/releasetools/apex_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py index 22992e8b1b..d7b0ba259b 100644 --- a/tools/releasetools/apex_utils.py +++ b/tools/releasetools/apex_utils.py @@ -415,7 +415,7 @@ def SignUncompressedApex(avbtool, apex_file, payload_key, container_key, apex_zip = zipfile.ZipFile(apex_file, 'a', allowZip64=True) common.ZipWrite(apex_zip, payload_file, arcname=APEX_PAYLOAD_IMAGE) common.ZipWrite(apex_zip, payload_public_key, arcname=APEX_PUBKEY) - apex_zip.close() + common.ZipClose(apex_zip) # 3. Sign the APEX container with container_key. signed_apex = common.MakeTempFile(prefix='apex-container-', suffix='.apex') |