diff options
author | Jürg Billeter <j@bitron.ch> | 2019-03-02 10:54:32 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-03-06 10:31:06 +0100 |
commit | 611bbae66b91569ff3cbc68bcb7acec076e46470 (patch) | |
tree | 363c3390a64c81afa67ae2b787cd51fe148c8490 | |
parent | adeacd9b715364723de7eaf82bd0c81b272e34e6 (diff) | |
download | buildstream-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.py | 3 |
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' |