summaryrefslogtreecommitdiff
path: root/packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-08 23:05:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-08 23:05:26 +0100
commitee31f38742e2c64d6353f03bba0c16880989b11b (patch)
treebeb1496293e1b73888aab9e38fbc3e553c4e2a12 /packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch
parent2453029d79a82e74f1aaefdf8ce068459ace1e09 (diff)
sys-apps/openrc : import from hasufell, downgrade to 0.34.11
Diffstat (limited to 'packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch')
-rw-r--r--packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch b/packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch
new file mode 100644
index 0000000..900ad4b
--- /dev/null
+++ b/packages/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch
@@ -0,0 +1,12 @@
+diff -Nur a/etc/rc.conf b/etc/rc.conf
+--- a/etc/rc.conf 2017-10-10 19:38:12.000000000 +0100
++++ b/etc/rc.conf 2017-10-22 09:24:59.365825762 +0100
+@@ -196,7 +196,7 @@
+ # cgroups version 1 on /sys/fs/cgroup.
+ # "legacy" mounts cgroups version 1 on /sys/fs/cgroup
+ # "unified" mounts cgroups version 2 on /sys/fs/cgroup
+-#rc_cgroup_mode="hybrid"
++rc_cgroup_mode="legacy"
+
+ # This is a list of controllers which should be enabled for cgroups version 2.
+ # If hybrid mode is being used, controllers listed here will not be