sys-apps/openrc: add new 0.40 services to boot runlevel
authorWilliam Hubbs <williamh@gentoo.org>
Wed, 7 Nov 2018 22:54:26 +0000 (16:54 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Wed, 7 Nov 2018 22:55:49 +0000 (16:55 -0600)
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: William Hubbs <williamh@gentoo.org>
sys-apps/openrc/openrc-9999.ebuild

index 7babd0045d3bc9270c6e744beff21f61902e614d..03c55deff4153673c62346118d62ace49f6be025 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -250,6 +250,10 @@ EOF
 
        has_version ">=sys-apps/openrc-0.35" || add_boot_init cgroups sysinit
 
+       if ! has_version ">=sys-apps/openrc-0.40"; then
+               add_boot_init save-keymaps
+               add_boot_init save-termencoding
+       fi
 }
 
 # >=OpenRC-0.11.3 requires udev-mount to be in the sysinit runlevel with udev.