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-04 09:12:20 +0100
commitb9ddcd0e9115ce232d8641cff569f4034bac4fd3 (patch)
tree8d1a0cf218651d10bf03f0e5e36097b29bc6ec0f
parent59c92bda9a66c67b4a0c2bc8115918b93eda261c (diff)
downloadbuildstream-b9ddcd0e9115ce232d8641cff569f4034bac4fd3.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):