Enable zip64 support in build image script

Images are getting bigger each year, we need zip64 support to store >4GB
files in .zip archive.

Test: th
Bug: 255683436
Change-Id: I9adbefa5ec72e357b02e46d6e629c054d466ddd7
This commit is contained in:
Kelvin Zhang 2022-10-26 12:29:10 -07:00
parent b41bb81505
commit 1de1788dda

View file

@ -173,7 +173,7 @@ def RebuildAndWriteSuperImages(input_file, output_file):
logger.info('Writing super.img to archive...')
with zipfile.ZipFile(
output_file, 'a', compression=zipfile.ZIP_DEFLATED,
allowZip64=not OPTIONS.sparse_userimages) as output_zip:
allowZip64=True) as output_zip:
common.ZipWrite(output_zip, super_file, 'super.img')