summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2017-11-28 17:30:17 -0600
committerWilliam Hubbs <williamh@gentoo.org>2017-11-28 17:30:39 -0600
commit4211391ca9a4a1cf4e7711a0b76f6d133e05b4b8 (patch)
tree395bdc29e38123302289d3edf36e0a28f3f4de2b /sys-apps/openrc
parentsys-process/procps: stable 3.3.12-r1 for ppc/ppc64, bug #635300 (diff)
downloadgentoo-4211391ca9a4a1cf4e7711a0b76f6d133e05b4b8.tar.gz
gentoo-4211391ca9a4a1cf4e7711a0b76f6d133e05b4b8.tar.bz2
gentoo-4211391ca9a4a1cf4e7711a0b76f6d133e05b4b8.zip
sys-apps/openrc: in the live ebuild, add cgroups to the sysinit runlevel
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 15376774cd7c..4e854c493561 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -248,6 +248,9 @@ EOF
ewarn "if you do not want this to happen."
fi
fi
+
+ has_version ">=sys-apps/openrc-0.35" || add_boot_init cgroups sysinit
+
}
# >=OpenRC-0.11.3 requires udev-mount to be in the sysinit runlevel with udev.