summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-30 17:47:11 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-30 17:47:11 +0100
commit052ca6c0fb1a967e447caa915160e06eafecfbbd (patch)
treebeb07e0c0d3e10f6275f73bd8edcecc9cbd36f2f
parented5c4cdfe6a03cf983bcff95a3f044316157917b (diff)
downloadmorph-052ca6c0fb1a967e447caa915160e06eafecfbbd.tar.gz
Use BARE mode OStree repo
This is *much* faster for build systems. ARCHIVE_Z2 is meant for servers, not for build systems. Change-Id: Ife24a137cf0e438cdf91eea2c647ecf8571e58e9
-rw-r--r--morphlib/ostree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/ostree.py b/morphlib/ostree.py
index a2c133f2..7c761498 100644
--- a/morphlib/ostree.py
+++ b/morphlib/ostree.py
@@ -29,7 +29,7 @@ class OSTreeRepo(object):
except GLib.GError:
if not os.path.exists(path):
os.makedirs(path)
- repo.create(OSTree.RepoMode.ARCHIVE_Z2, self.cancellable)
+ repo.create(OSTree.RepoMode.BARE, self.cancellable)
repo.set_disable_fsync(disable_fsync)
return repo