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-02 12:37:36 +0100
commit408f2871d1361623c9fd3bcb50459b015e99c561 (patch)
treef6f7cbbdee154311639af151e4e9f8ccad1e8fcf
parentf989c32fd641b2e44e9f1c3a394cbda25b65e3fb (diff)
downloadbuildstream-408f2871d1361623c9fd3bcb50459b015e99c561.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'