summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-03-02 09:15:57 +0100
committerJürg Billeter <j@bitron.ch>2019-03-06 10:31:06 +0100
commitadeacd9b715364723de7eaf82bd0c81b272e34e6 (patch)
tree2b504e76b13ec12d789a18a31b065fc391ef7069
parent55f348797602506f3b3ec3a7bfa47af989249161 (diff)
downloadbuildstream-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.py3
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'