summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-08-07 13:22:26 +0200
committerJürg Billeter <j@bitron.ch>2019-08-20 08:09:52 +0200
commit3865545ad346e60a5c179e590475a8f149fcc238 (patch)
tree2e83e85492ea78ccbf2ebba827539db4faae4c8f
parent1519ad94ddfa3732d215356fbc54c2643cc1bf1f (diff)
downloadbuildstream-3865545ad346e60a5c179e590475a8f149fcc238.tar.gz
_stream.py: Disable fork for staging in artifact checkout
With the buildbox sandboxing backend, communication with casd is required for staging. Disable fork after fetching missing artifacts to allow communication with casd in the main process.
-rw-r--r--src/buildstream/_stream.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index d81d0d051..15410fb28 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -555,6 +555,8 @@ class Stream():
self._enqueue_plan(uncached_elts)
self._run()
+ self._context.disable_fork()
+
# Stage deps into a temporary sandbox first
if isinstance(target, ArtifactElement):
try: