diff options
author | Jürg Billeter <j@bitron.ch> | 2019-12-18 11:26:50 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2019-12-23 11:57:25 +0000 |
commit | 6902d438f744edc7628bd260d223c2843e4b6897 (patch) | |
tree | c245ff56067e08d71b8ea5c7a2e0edcccb45f4c7 | |
parent | 10d514cf4fd7e51e8567a12785f6c6822d896ffc (diff) | |
download | buildstream-6902d438f744edc7628bd260d223c2843e4b6897.tar.gz |
_platform: Drop support for chroot sandbox
-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 |