summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-04-15 14:54:00 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-04-20 14:07:42 +0000
commit8ec6da9d7a04274b96544a9dd7c8b0d22c79736c (patch)
tree0bc9055d8253438c61c27c6a77eb482fb90366e5
parentf75cf185b208e1b66bf11b3633c7721b79f16df8 (diff)
downloadmorph-8ec6da9d7a04274b96544a9dd7c8b0d22c79736c.tar.gz
Download stratum metadata along with stratum
Otherwise, the checkout_stratum() function fails because the .meta file is missing. I would rather Morph never downloaded part of an artifact -- all the consituent files should be tracked and kept together. Change-Id: I939147e4035cf891b9a7809db36df1271f057b7b
-rw-r--r--morphlib/plugins/deploy_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index 45c516b1..de95258a 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -575,7 +575,7 @@ class DeployPlugin(cliapp.Plugin):
"""
deps = artifact.source.dependencies
- morphlib.builder.download_depends(deps, lac, rac)
+ morphlib.builder.download_depends(deps, lac, rac, metadatas=['meta'])
for stratum in deps:
self.checkout_stratum(path, stratum, lac, rac)
morphlib.builder.ldconfig(self.app.runcmd, path)