diff options
author | Jürg Billeter <j@bitron.ch> | 2019-03-02 10:53:39 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-03-06 10:31:06 +0100 |
commit | 4d1fb9eea76189997ff04de0f96dbd834d15fa6b (patch) | |
tree | 5e60cd157c0eb99a8b219e75a044409dc23072dc | |
parent | 611bbae66b91569ff3cbc68bcb7acec076e46470 (diff) | |
download | buildstream-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.py | 3 |
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' |