summaryrefslogtreecommitdiff
path: root/morphlib/cachekeycomputer.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-24 16:35:58 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-24 16:35:58 +0000
commita21def96f77772549777b0bca76ba561baebbe78 (patch)
tree5c0b09bc97031479f99c49943e39f226728295c8 /morphlib/cachekeycomputer.py
parent3e96d21a5158f610ef79c12d687f13561adbc1b9 (diff)
downloadmorph-a21def96f77772549777b0bca76ba561baebbe78.tar.gz
SUGGESTED: increment metadata-version for OStree branch
We can't easily share built artifacts built with older versions of Morph because they may contain device nodes, and these can't be stored in an OSTree repo. Change-Id: Id1e7be4a5e12e8a4881c2084594d9553df18d026
Diffstat (limited to 'morphlib/cachekeycomputer.py')
-rw-r--r--morphlib/cachekeycomputer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py
index 33eef082..b53c0d4e 100644
--- a/morphlib/cachekeycomputer.py
+++ b/morphlib/cachekeycomputer.py
@@ -84,7 +84,7 @@ class CacheKeyComputer(object):
'kids': [{'artifact': a.name,
'cache-key': self.compute_key(a.source)}
for a in source.dependencies],
- 'metadata-version': 1
+ 'metadata-version': 2
}
morphology = source.morphology