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-02 12:37:36 +0100
commitff99e992ebcc27776cebb0dd6638ea5d8ca1f4c2 (patch)
tree80d2a09d4dbd8a900efd4b66f4508a6dde59b5d2
parent408f2871d1361623c9fd3bcb50459b015e99c561 (diff)
downloadbuildstream-juerg/fast-import.tar.gz
filter.py: Set BST_RUN_COMMANDS to Falsejuerg/fast-import
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'