summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-03-02 10:53:39 +0100
committerJürg Billeter <j@bitron.ch>2019-03-06 10:31:06 +0100
commit4d1fb9eea76189997ff04de0f96dbd834d15fa6b (patch)
tree5e60cd157c0eb99a8b219e75a044409dc23072dc
parent611bbae66b91569ff3cbc68bcb7acec076e46470 (diff)
downloadbuildstream-4d1fb9eea76189997ff04de0f96dbd834d15fa6b.tar.gz
filter.py: Set BST_RUN_COMMANDS to False
Filter elements do not run any commands. This will allow faster staging.
-rw-r--r--buildstream/plugins/elements/filter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/filter.py b/buildstream/plugins/elements/filter.py
index 459d4fc9f..232f4ccca 100644
--- a/buildstream/plugins/elements/filter.py
+++ b/buildstream/plugins/elements/filter.py
@@ -163,6 +163,9 @@ class FilterElement(Element):
# This plugin has been modified to avoid the use of Sandbox.get_directory
BST_VIRTUAL_DIRECTORY = True
+ # Filter elements do not run any commands
+ BST_RUN_COMMANDS = False
+
def configure(self, node):
self.node_validate(node, [
'include', 'exclude', 'include-orphans'