summaryrefslogtreecommitdiff
path: root/morphlib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/plugins')
-rw-r--r--morphlib/plugins/show_build_log_plugin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/morphlib/plugins/show_build_log_plugin.py b/morphlib/plugins/show_build_log_plugin.py
index a6bb1783..6f22036a 100644
--- a/morphlib/plugins/show_build_log_plugin.py
+++ b/morphlib/plugins/show_build_log_plugin.py
@@ -55,6 +55,12 @@ class ShowBuildLog(cliapp.Plugin):
system = args[0]
chunk = args[1]
+ # Hack to allow getting build log of chunks for a different
+ # architecture
+ def validate(self, root_artifact):
+ pass
+ morphlib.buildcommand.BuildCommand._validate_architecture = validate
+
sb = morphlib.sysbranchdir.open_from_within('.')
root_repo_url = sb.get_config('branch.root')
ref = sb.get_config('branch.name')