Skip to content

Instantly share code, notes, and snippets.

@mthierry
Created November 4, 2014 13:13
Show Gist options
  • Save mthierry/0df6802ff95354546243 to your computer and use it in GitHub Desktop.
Save mthierry/0df6802ff95354546243 to your computer and use it in GitHub Desktop.
diff --git a/tools/releasetools/add_img_to_target_files.py b/tools/releasetools/add_img_to_target_files.py
index bf217e0..f8c34f9 100755
--- a/tools/releasetools/add_img_to_target_files.py
+++ b/tools/releasetools/add_img_to_target_files.py
@@ -215,7 +215,7 @@ def AddImagesToTargetFiles(filename):
input_zip.close()
output_zip = zipfile.ZipFile(filename, "a",
- compression=zipfile.ZIP_DEFLATED)
+ compression=zipfile.ZIP_DEFLATED, allowZip64=True)
def banner(s):
print "\n\n++++ " + s + " ++++\n\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment