summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-04-15 14:54:00 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-04-15 14:56:41 (GMT)
commit5c049d80fa5529860b6dea3f7c46b6630eda9cb3 (patch)
treee3d4f790b05f6a84e97fb6d01e0db5ef0ed5faf3
parentd338f525f8f5edd4b9c1e0dbf90e97e6c46ba2e7 (diff)
downloadmorph-sam/ostree-fixes-1.tar.gz
Download stratum metadata along with stratumsam/ostree-fixes-1
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 1631e7b..80d708a 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -585,7 +585,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)