summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-03 11:18:43 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-03 18:41:49 +0000
commita595eaa7f7234529e34d2ce778852810abe9ba58 (patch)
tree99f590267e6658e87cc48109484c13dcbc242e02
parent1ca5c972f8ba20fafe252391fca5646831ae404e (diff)
downloadmorph-a595eaa7f7234529e34d2ce778852810abe9ba58.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 ad9d7cd9..11871e7e 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