From 611bbae66b91569ff3cbc68bcb7acec076e46470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Sat, 2 Mar 2019 10:54:32 +0100 Subject: filter.py: Set BST_VIRTUAL_DIRECTORY The filter plugin doesn't use Sandbox.get_directory(). --- buildstream/plugins/elements/filter.py | 3 +++ 1 file changed, 3 insertions(+) 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' -- cgit v1.2.1