You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 08:19:13 UTC
[buildstream] 02/02: HACK: _platform/linux.py: Use BuildBox sandbox
backend
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch buildbox-pre-will
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 5600890b5c51b0a2cc4945c6bfa8ecee59514a26
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Wed Nov 14 10:28:46 2018 +0100
HACK: _platform/linux.py: Use BuildBox sandbox backend
---
buildstream/_platform/linux.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py
index e4ce025..b8e2c38 100644
--- a/buildstream/_platform/linux.py
+++ b/buildstream/_platform/linux.py
@@ -22,7 +22,7 @@ import subprocess
from .. import _site
from .. import utils
-from ..sandbox import SandboxDummy
+from ..sandbox import SandboxDummy, SandboxBuildBox
from .platform import Platform
from .._exceptions import PlatformError
@@ -66,7 +66,8 @@ class Linux(Platform):
if not self._local_sandbox_available:
return self._create_dummy_sandbox(*args, **kwargs)
else:
- return self._create_bwrap_sandbox(*args, **kwargs)
+ # return self._create_bwrap_sandbox(*args, **kwargs)
+ return SandboxBuildBox(*args, **kwargs)
def check_sandbox_config(self, config):
if not self._local_sandbox_available: