Allow sign_target_files_apks.py to create zip64 signed TF.zip.
We should only disallow zip64 for the image and OTA zips (because we don't have zip64 support in libziparchive yet). But target_files zips are fine to use zip64 with host tools (and we already do that in add_img_to_target_files.py). This CL also sets the default compression method to DEFLATED when creating the signed TF.zip. Test: sign_target_files.apks.py signing a large TF.zip passes. Change-Id: I8043739860604134fa1166e920c95c28797bbcc1
This commit is contained in:
parent
cb07cb1aa7
commit
2b8f489e30
|
@ -634,7 +634,9 @@ def main(argv):
|
|||
sys.exit(1)
|
||||
|
||||
input_zip = zipfile.ZipFile(args[0], "r")
|
||||
output_zip = zipfile.ZipFile(args[1], "w")
|
||||
output_zip = zipfile.ZipFile(args[1], "w",
|
||||
compression=zipfile.ZIP_DEFLATED,
|
||||
allowZip64=True)
|
||||
|
||||
misc_info = common.LoadInfoDict(input_zip)
|
||||
|
||||
|
|
Loading…
Reference in New Issue