summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-03-06 14:35:23 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-13 15:20:01 +0000
commit192ca84cd2e6a6125b3c7cb2ed076580312d3471 (patch)
treedc0bbb6eb70dd72cb7d4e1a1e2cf5c4bd43588b1
parent834b129fd7458017f717ffbc1a53f98fc206767f (diff)
downloadmorph-192ca84cd2e6a6125b3c7cb2ed076580312d3471.tar.gz
Do not compress chunk artifacts upon creation
We already silently, automatically decompress if the artifact is compressed. It is thus safe to turn off compression. Compression saves disk space, but on ARM it takes up a lot extra time, and we have lots of disk space, so for speed, not compressing is a good idea.
-rw-r--r--morphlib/bins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py
index ba5f713f..0374c117 100644
--- a/morphlib/bins.py
+++ b/morphlib/bins.py
@@ -100,7 +100,7 @@ def create_chunk(rootdir, f, regexps, dump_memory_profile=None):
dump_memory_profile('after walking')
include = sorted(include) # get dirs before contents
- tar = tarfile.open(fileobj=f, mode='w:gz')
+ tar = tarfile.open(fileobj=f, mode='w')
for filename in include:
# Normalize mtime for everything.
tarinfo = tar.gettarinfo(filename,