1
0
mirror of https://github.com/ARM-software/devlib.git synced 2024-10-05 18:30:50 +01:00

Merge pull request #35 from derkling/cgroup-fix-setup

Cgroup fix setup
This commit is contained in:
setrofim 2016-05-27 16:39:50 +01:00
commit cf791d1e64
2 changed files with 4 additions and 0 deletions

View File

@ -231,6 +231,7 @@ CgroupSubsystemEntry = namedtuple('CgroupSubsystemEntry', 'name hierarchy num_cg
class CgroupsModule(Module):
name = 'cgroups'
stage = 'setup'
cgroup_root = '/sys/fs/cgroup'
@staticmethod

View File

@ -216,6 +216,9 @@ class Target(object):
for host_exe in (executables or []): # pylint: disable=superfluous-parens
self.install(host_exe)
# Initialize modules which requires Buxybox (e.g. shutil dependent tasks)
self._update_modules('setup')
def reboot(self, hard=False, connect=True, timeout=180):
if hard:
if not self.has('hard_reset'):