diff options
author | Jürg Billeter <j@bitron.ch> | 2019-08-07 13:22:26 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-08-20 08:09:52 +0200 |
commit | 3865545ad346e60a5c179e590475a8f149fcc238 (patch) | |
tree | 2e83e85492ea78ccbf2ebba827539db4faae4c8f /src/buildstream/_stream.py | |
parent | 1519ad94ddfa3732d215356fbc54c2643cc1bf1f (diff) | |
download | buildstream-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.
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r-- | src/buildstream/_stream.py | 2 |
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: |