Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 088521ef authored by Greg Hackmann's avatar Greg Hackmann Committed by Gerrit Code Review
Browse files

Merge "Allow system images larger than 2GiB, pt. 2"

parents b5901670 6701db81
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -141,7 +141,13 @@ def main(argv):

  finally:
    print "cleaning up..."
    # http://b/18015246
    # See common.py for context.  zipfile also refers to ZIP64_LIMIT during
    # close() when it writes out the central directory.
    saved_zip64_limit = zipfile.ZIP64_LIMIT
    zipfile.ZIP64_LIMIT = (1 << 32) - 1
    output_zip.close()
    zipfile.ZIP64_LIMIT = saved_zip64_limit
    shutil.rmtree(OPTIONS.input_tmp)

  print "done."