diff options
author | Jürg Billeter <j@bitron.ch> | 2019-12-18 11:26:50 +0100 |
---|---|---|
committer | Chandan Singh <chandan@chandansingh.net> | 2019-12-31 11:54:03 +0000 |
commit | c2449ad60f15badbd0efd4ac1c4148cf42e08378 (patch) | |
tree | 61b05c3ebd749dc2186431f188480670a57c55e5 /src/buildstream | |
parent | 91670184bc8cf30147d92c555278e5347b4707a8 (diff) | |
download | buildstream-c2449ad60f15badbd0efd4ac1c4148cf42e08378.tar.gz |
_platform: Drop support for chroot sandbox
Diffstat (limited to 'src/buildstream')
-rw-r--r-- | src/buildstream/_platform/linux.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/buildstream/_platform/linux.py b/src/buildstream/_platform/linux.py index 05e55e0f5..c5192c86d 100644 --- a/src/buildstream/_platform/linux.py +++ b/src/buildstream/_platform/linux.py @@ -31,7 +31,6 @@ class Linux(Platform): sandbox_setups = { "bwrap": self._setup_bwrap_sandbox, "buildbox-run": self.setup_buildboxrun_sandbox, - "chroot": self._setup_chroot_sandbox, "dummy": self._setup_dummy_sandbox, } @@ -107,23 +106,3 @@ class Linux(Platform): self.check_sandbox_config = self._check_sandbox_config_bwrap self.create_sandbox = self._create_bwrap_sandbox return True - - # Chroot sandbox methods - def _check_sandbox_config_chroot(self, config): - from ..sandbox._sandboxchroot import SandboxChroot - - return SandboxChroot.check_sandbox_config(self, config) - - @staticmethod - def _create_chroot_sandbox(*args, **kwargs): - from ..sandbox._sandboxchroot import SandboxChroot - - return SandboxChroot(*args, **kwargs) - - def _setup_chroot_sandbox(self): - from ..sandbox._sandboxchroot import SandboxChroot - - self._check_sandbox(SandboxChroot) - self.check_sandbox_config = self._check_sandbox_config_chroot - self.create_sandbox = Linux._create_chroot_sandbox - return True |