From 7951e2ee4f9bd2a2780488720e0b8c625e43e5d0 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 30 Mar 2018 14:07:58 +0300 Subject: Change: don't mount /proc, /sys inside chroot --- ick2/actionenvs.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ick2/actionenvs.py') diff --git a/ick2/actionenvs.py b/ick2/actionenvs.py index 7a2b57a..099b13f 100644 --- a/ick2/actionenvs.py +++ b/ick2/actionenvs.py @@ -143,12 +143,6 @@ class HostEnvironment(ActionEnvironment): class ChrootEnvironment(ActionEnvironment): - def get_mounts(self): # pragma: no cover - return [ - ('/proc', os.path.join(self._workspace, 'proc')), - ('/sys', os.path.join(self._workspace, 'sys')), - ] - def runcmd(self, argv): prefix = ['sudo', 'chroot', self._workspace] return self.host_runcmd(prefix + argv) -- cgit v1.2.1