diff options
author | Jürg Billeter <j@bitron.ch> | 2019-08-07 13:22:26 +0200 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-08-19 12:27:53 +0100 |
commit | d6736f685a6c53970ffcfeb3563b645f91851fef (patch) | |
tree | 2d18b859e0441e491bf2144f09555da4d714c097 | |
parent | 40c029a8d856324668a473e6b9392d637111ba1d (diff) | |
download | buildstream-d6736f685a6c53970ffcfeb3563b645f91851fef.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.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 5009b057b..83cc6bd7b 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -548,6 +548,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: |