summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2013-12-19 17:59:20 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2013-12-20 11:33:11 +0000
commit654e8e3a00cb12fcae63346319943751e3442aa2 (patch)
treeaf2e1485137ec26d57a80bfb030121fb9fe96878 /morphlib/plugins/deploy_plugin.py
parentae0bb5ac1245fe124560fa7dc1f53656da190ac2 (diff)
downloadmorph-654e8e3a00cb12fcae63346319943751e3442aa2.tar.gz
Deploy and cross-bootstrap commands no longer validate host architecture
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index 1e86d44c..47cd00c1 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -329,6 +329,10 @@ class DeployPlugin(cliapp.Plugin):
morph = system['morph']
srcpool = build_command.create_source_pool(build_repo, ref,
morph + '.morph')
+ def validate(self, root_artifact):
+ pass
+ morphlib.buildcommand.BuildCommand._validate_architecture = validate
+
artifact = build_command.resolve_artifacts(srcpool)
deploy_defaults = system['deploy-defaults']