diff options
author | Jürg Billeter <j@bitron.ch> | 2019-08-07 14:15:30 +0200 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-08-19 12:27:54 +0100 |
commit | 71aa0ffaa0a98dc06224431eda79b009aa803334 (patch) | |
tree | a961215bfd28b156349c1decabd04e13a938584b | |
parent | d6736f685a6c53970ffcfeb3563b645f91851fef (diff) | |
download | buildstream-71aa0ffaa0a98dc06224431eda79b009aa803334.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.
-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 83cc6bd7b..95e1148c7 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -216,6 +216,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) |