diff options
author | Jürg Billeter <j@bitron.ch> | 2019-03-02 09:15:57 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-03-06 10:31:06 +0100 |
commit | adeacd9b715364723de7eaf82bd0c81b272e34e6 (patch) | |
tree | 2b504e76b13ec12d789a18a31b065fc391ef7069 | |
parent | 55f348797602506f3b3ec3a7bfa47af989249161 (diff) | |
download | buildstream-adeacd9b715364723de7eaf82bd0c81b272e34e6.tar.gz |
import.py: Set BST_RUN_COMMANDS to False
Import elements do not run any commands. This will allow faster staging.
-rw-r--r-- | buildstream/plugins/elements/import.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/import.py b/buildstream/plugins/elements/import.py index 4d925dec7..73884214f 100644 --- a/buildstream/plugins/elements/import.py +++ b/buildstream/plugins/elements/import.py @@ -41,6 +41,9 @@ class ImportElement(Element): # This plugin has been modified to avoid the use of Sandbox.get_directory BST_VIRTUAL_DIRECTORY = True + # Import elements do not run any commands + BST_RUN_COMMANDS = False + def configure(self, node): self.node_validate(node, [ 'source', 'target' |