summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-02 11:48:18 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-03 17:02:09 +0100
commit67f3322102b9dbf8b067b9c9f7fa23924f738d3a (patch)
treebda74280a938c93b6ff7bd71314a34a7fa6366bf
parentd60800c9f015e671bff567055f763d5912366058 (diff)
downloadbuildstream-67f3322102b9dbf8b067b9c9f7fa23924f738d3a.tar.gz
_platform/darwin.py: Give reason for use of dummy sandbox
Since Darwin is limited to the dummy sandbox for now due to OSXFUSE being unsupported as yet, and there being no suitable sandboxing option for use on OSX, give this as the reason so that it can be reported if the user attempts a local build. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r--buildstream/_platform/darwin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/_platform/darwin.py b/buildstream/_platform/darwin.py
index c4361e897..04a83110e 100644
--- a/buildstream/_platform/darwin.py
+++ b/buildstream/_platform/darwin.py
@@ -34,6 +34,9 @@ class Darwin(Platform):
super().__init__()
def create_sandbox(self, *args, **kwargs):
+ kwargs['dummy_reason'] = \
+ "OSXFUSE is not supported and there are no supported sandbox" + \
+ "technologies for OSX at this time"
return SandboxDummy(*args, **kwargs)
def check_sandbox_config(self, config):