mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 05:30:44 +00:00
commit
cf791d1e64
@ -231,6 +231,7 @@ CgroupSubsystemEntry = namedtuple('CgroupSubsystemEntry', 'name hierarchy num_cg
|
|||||||
class CgroupsModule(Module):
|
class CgroupsModule(Module):
|
||||||
|
|
||||||
name = 'cgroups'
|
name = 'cgroups'
|
||||||
|
stage = 'setup'
|
||||||
cgroup_root = '/sys/fs/cgroup'
|
cgroup_root = '/sys/fs/cgroup'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -216,6 +216,9 @@ class Target(object):
|
|||||||
for host_exe in (executables or []): # pylint: disable=superfluous-parens
|
for host_exe in (executables or []): # pylint: disable=superfluous-parens
|
||||||
self.install(host_exe)
|
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):
|
def reboot(self, hard=False, connect=True, timeout=180):
|
||||||
if hard:
|
if hard:
|
||||||
if not self.has('hard_reset'):
|
if not self.has('hard_reset'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user