diff options
-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 |