summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-03 11:18:43 (GMT)
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-10 13:52:25 (GMT)
commitc0674c1308a8a8bb8b2844b62b43cbe01ab8c05e (patch)
treee4d101024067e1d57ef93e41e71b6ecb039e3c3a
parentd4693d34bdbb1638ac8b3d38b20759e15dee09b7 (diff)
downloadmorph-c0674c1308a8a8bb8b2844b62b43cbe01ab8c05e.tar.gz
Make morph use OSTreeArtifactCache instead of LocalArtifactCache
-rw-r--r--morphlib/util.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/morphlib/util.py b/morphlib/util.py
index 904dc35..f036059 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -132,8 +132,10 @@ def new_artifact_caches(settings): # pragma: no cover
if not os.path.exists(artifact_cachedir):
os.mkdir(artifact_cachedir)
- lac = morphlib.localartifactcache.LocalArtifactCache(
- fs.osfs.OSFS(artifact_cachedir))
+ #lac = morphlib.localartifactcache.LocalArtifactCache(
+ # fs.osfs.OSFS(artifact_cachedir))
+
+ lac = morphlib.ostreeartifactcache.OSTreeArtifactCache(artifact_cachedir)
rac_url = get_artifact_cache_server(settings)
rac = None