commit 821123167d63756e80b0d5f9caac110724755f03 parent f028ca2ac2e16800b97ec09fc9a29bbcc9e5aa60 Author: ccx <root@dorje.wpr.cz> Date: Thu, 2 Sep 2021 16:26:29 +0200 Mountpoint for cgroups v2 Diffstat:
A | mount-run-cgroup2/down | | | 1 | + |
A | mount-run-cgroup2/type | | | 1 | + |
A | mount-run-cgroup2/up | | | 3 | +++ |
M | ok-sysinit/contents | | | 1 | + |
4 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/mount-run-cgroup2/down b/mount-run-cgroup2/down @@ -0,0 +1 @@ +s6-umount /run/cgroup2 diff --git a/mount-run-cgroup2/type b/mount-run-cgroup2/type @@ -0,0 +1 @@ +oneshot diff --git a/mount-run-cgroup2/up b/mount-run-cgroup2/up @@ -0,0 +1,3 @@ +if { mkdir /run/cgroup2 } +mount -t cgroup2 none /run/cgroup2 + diff --git a/ok-sysinit/contents b/ok-sysinit/contents @@ -4,3 +4,4 @@ mount-dev-pts mount-dev-shm mount-proc mount-sys +mount-run-cgroup2