From 8ec6da9d7a04274b96544a9dd7c8b0d22c79736c Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 15 Apr 2015 14:54:00 +0000 Subject: 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 --- morphlib/plugins/deploy_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1