summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-03-06 14:37:39 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-03-11 17:41:48 +0000
commit19984d4a4c34e9bcac23fda6831750698d39d95a (patch)
tree4682dbd17b3a95d261e6ac8ea6e11306f34a33aa /morphlib
parent09c932fe906375fea310b78d71399c36e77b8001 (diff)
downloadmorph-19984d4a4c34e9bcac23fda6831750698d39d95a.tar.gz
Turn off rootfs-tarball compression
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/plugins/tarball-systembuilder_plugin.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/morphlib/plugins/tarball-systembuilder_plugin.py b/morphlib/plugins/tarball-systembuilder_plugin.py
index 02622067..9f9cf02e 100644
--- a/morphlib/plugins/tarball-systembuilder_plugin.py
+++ b/morphlib/plugins/tarball-systembuilder_plugin.py
@@ -59,9 +59,7 @@ class RootfsTarballBuilder(SystemKindBuilder): # pragma: no cover
unslashy_root)
return info
artiname = self.artifact.source.morphology['name']
- tar = tarfile.TarFile.gzopen(fileobj=handle, mode="w",
- compresslevel=1,
- name=artiname)
+ tar = tarfile.open(fileobj=handle, mode="w", name=artiname)
self.app.status(msg='Constructing tarball of root filesystem',
chatty=True)
tar.add(fs_root, recursive=True, filter=uproot_info)