diff options
-rw-r--r-- | src/buildstream/plugins/elements/compose.py | 3 | ||||
-rw-r--r-- | src/buildstream/plugins/elements/stack.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/compose.py b/src/buildstream/plugins/elements/compose.py index 1c523eeb2..511925731 100644 --- a/src/buildstream/plugins/elements/compose.py +++ b/src/buildstream/plugins/elements/compose.py @@ -58,6 +58,9 @@ class ComposeElement(Element): # This plugin has been modified to avoid the use of Sandbox.get_directory BST_VIRTUAL_DIRECTORY = True + # Compose elements do not run any commands + BST_RUN_COMMANDS = False + def configure(self, node): node.validate_keys([ 'integrate', 'include', 'exclude', 'include-orphans' diff --git a/src/buildstream/plugins/elements/stack.py b/src/buildstream/plugins/elements/stack.py index 267ac02ce..ae15af63a 100644 --- a/src/buildstream/plugins/elements/stack.py +++ b/src/buildstream/plugins/elements/stack.py @@ -39,6 +39,9 @@ class StackElement(Element): # This element does not allow sources BST_FORBID_SOURCES = True + # Stack elements do not run any commands + BST_RUN_COMMANDS = False + def configure(self, node): pass |