sys-apps/openrc: in the live ebuild, add cgroups to the sysinit runlevel
authorWilliam Hubbs <williamh@gentoo.org>
Tue, 28 Nov 2017 23:30:17 +0000 (17:30 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Tue, 28 Nov 2017 23:30:39 +0000 (17:30 -0600)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

sys-apps/openrc/openrc-9999.ebuild

index 15376774cd7cba6e9f95b4c645ec5a006007556c..4e854c493561a3a7bc8cb34e6813bc64b6b0dbe3 100644 (file)
@@ -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.