mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
commit
cf791d1e64
@ -231,6 +231,7 @@ CgroupSubsystemEntry = namedtuple('CgroupSubsystemEntry', 'name hierarchy num_cg
|
||||
class CgroupsModule(Module):
|
||||
|
||||
name = 'cgroups'
|
||||
stage = 'setup'
|
||||
cgroup_root = '/sys/fs/cgroup'
|
||||
|
||||
@staticmethod
|
||||
|
@ -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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user