summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-03-02 10:54:32 +0100
committerJürg Billeter <j@bitron.ch>2019-03-06 10:31:06 +0100
commit611bbae66b91569ff3cbc68bcb7acec076e46470 (patch)
tree363c3390a64c81afa67ae2b787cd51fe148c8490
parentadeacd9b715364723de7eaf82bd0c81b272e34e6 (diff)
downloadbuildstream-611bbae66b91569ff3cbc68bcb7acec076e46470.tar.gz
filter.py: Set BST_VIRTUAL_DIRECTORY
The filter plugin doesn't use Sandbox.get_directory().
-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 5a2db2c44..459d4fc9f 100644
--- a/buildstream/plugins/elements/filter.py
+++ b/buildstream/plugins/elements/filter.py
@@ -160,6 +160,9 @@ class FilterElement(Element):
# added, to reduce the potential for confusion
BST_FORBID_SOURCES = True
+ # This plugin has been modified to avoid the use of Sandbox.get_directory
+ BST_VIRTUAL_DIRECTORY = True
+
def configure(self, node):
self.node_validate(node, [
'include', 'exclude', 'include-orphans'