From eb0dbcfcaa4ba516f89844802af5637ed37172e4 Mon Sep 17 00:00:00 2001 From: Valentin David Date: Wed, 9 Jan 2019 14:56:58 +0100 Subject: buildstream/plugins/elements/script.py: Mark script as BST_VIRTUAL_DIRECTORY ScriptElement does not use Sandbox.get_directory. It works using it with remote execution. Fixes #850 --- buildstream/plugins/elements/script.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildstream/plugins/elements/script.py b/buildstream/plugins/elements/script.py index 4e422c5db..6c33ecf95 100644 --- a/buildstream/plugins/elements/script.py +++ b/buildstream/plugins/elements/script.py @@ -42,6 +42,9 @@ import buildstream class ScriptElement(buildstream.ScriptElement): # pylint: disable=attribute-defined-outside-init + # This plugin has been modified to avoid the use of Sandbox.get_directory + BST_VIRTUAL_DIRECTORY = True + def configure(self, node): for n in self.node_get_member(node, list, 'layout', []): dst = self.node_subst_member(n, 'destination') -- cgit v1.2.1