diff options
author | Valentin David <valentin.david@codethink.co.uk> | 2019-01-09 14:56:58 +0100 |
---|---|---|
committer | Valentin David <valentin.david@codethink.co.uk> | 2019-01-09 14:56:58 +0100 |
commit | eb0dbcfcaa4ba516f89844802af5637ed37172e4 (patch) | |
tree | 357ba4ddd7186df597fd21fbc582362e7310882e /buildstream | |
parent | ba05c4fa6ce46210088f60d360765fc14f5971d9 (diff) | |
download | buildstream-eb0dbcfcaa4ba516f89844802af5637ed37172e4.tar.gz |
buildstream/plugins/elements/script.py: Mark script as BST_VIRTUAL_DIRECTORYvalentindavid/script_virtual_directory
ScriptElement does not use Sandbox.get_directory. It works using it
with remote execution.
Fixes #850
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/plugins/elements/script.py | 3 |
1 files changed, 3 insertions, 0 deletions
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') |