diff options
author | Raoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk> | 2019-07-01 16:03:57 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-12 17:39:08 +0000 |
commit | c7b89dd1e9c4ab3946bebe5fb951e7d3cb916041 (patch) | |
tree | 6fccad42753748843c76f34631c0b9d9729c2c5f /src/buildstream/scriptelement.py | |
parent | 4dbf8810fbc71f2b9803d994d9db847ab4104dd8 (diff) | |
download | buildstream-c7b89dd1e9c4ab3946bebe5fb951e7d3cb916041.tar.gz |
Fix scriptelement to set output directory
This is important for sandboxremote which uses this to process the job
outputs after a remote build.
Diffstat (limited to 'src/buildstream/scriptelement.py')
-rw-r--r-- | src/buildstream/scriptelement.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/scriptelement.py b/src/buildstream/scriptelement.py index dfdbb45c0..8023e64d2 100644 --- a/src/buildstream/scriptelement.py +++ b/src/buildstream/scriptelement.py @@ -206,6 +206,9 @@ class ScriptElement(Element): # Tell the sandbox to mount the install root directories = {self.__install_root: False} + # set the output directory + sandbox.set_output_directory(self.__install_root) + # Mark the artifact directories in the layout for item in self.__layout: destination = item['destination'] |