mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
Merge pull request #70 from derkling/cgroups-fix-mount-rw
cgroups: ensure CGroups are mounted RW
This commit is contained in:
commit
290af6619d
@ -326,6 +326,11 @@ class CgroupsModule(Module):
|
||||
self.logger.debug('cgroup_root already mounted at %s',
|
||||
self.cgroup_root)
|
||||
|
||||
# Ensure CGroups is mounted RW
|
||||
self.target.execute('mount -o remount,rw {}'\
|
||||
.format(self.cgroup_root),
|
||||
as_root=True)
|
||||
|
||||
# Load list of available controllers
|
||||
controllers = []
|
||||
subsys = self.list_subsystems()
|
||||
|
Loading…
x
Reference in New Issue
Block a user