From 19984d4a4c34e9bcac23fda6831750698d39d95a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 6 Mar 2013 14:37:39 +0000 Subject: Turn off rootfs-tarball compression --- morphlib/plugins/tarball-systembuilder_plugin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'morphlib') 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) -- cgit v1.2.1