diff options
Diffstat (limited to 'buildstream/_platform/linux.py')
-rw-r--r-- | buildstream/_platform/linux.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py index 85bfbd852..97fbb47be 100644 --- a/buildstream/_platform/linux.py +++ b/buildstream/_platform/linux.py @@ -55,6 +55,10 @@ class Linux(Platform): return SandboxBwrap(*args, **kwargs) def check_sandbox_config(self, config): + if not self._local_sandbox_available(): + # Accept all sandbox configs as it's irrelevant with the dummy sandbox (no Sandbox.run). + return True + if self._user_ns_available: # User namespace support allows arbitrary build UID/GID settings. return True |