diff options
author | Jürg Billeter <j@bitron.ch> | 2019-08-07 14:15:30 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-08-20 08:09:52 +0200 |
commit | 917e43d0d370bae80276450004df523339e92bc1 (patch) | |
tree | d69f8ea1261a605bb3199d01757bbac42caecc5a /src/buildstream | |
parent | 3865545ad346e60a5c179e590475a8f149fcc238 (diff) | |
download | buildstream-917e43d0d370bae80276450004df523339e92bc1.tar.gz |
_stream.py: Disable fork for Element._shell()
With the buildbox sandboxing backend, communication with casd is
required by Element._shell(). Disable fork after preparation to allow
communication with casd in the main process.
Diffstat (limited to 'src/buildstream')
-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 15410fb28..167127cf2 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -223,6 +223,8 @@ class Stream(): else: buildtree = True + self._context.disable_fork() + return element._shell(scope, directory, mounts=mounts, isolate=isolate, prompt=prompt, command=command, usebuildtree=buildtree) |