diff options
author | William Hubbs <williamh@gentoo.org> | 2012-09-28 21:18:26 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-09-28 21:18:26 +0000 |
commit | a3d0e446485b2f3de555a8abeda8292d9f035caf (patch) | |
tree | fce2a6c52e97119b236d849b467dc0ec8ab83ac8 /sys-apps/openrc | |
parent | Version bump. (diff) | |
download | gentoo-2-a3d0e446485b2f3de555a8abeda8292d9f035caf.tar.gz gentoo-2-a3d0e446485b2f3de555a8abeda8292d9f035caf.tar.bz2 gentoo-2-a3d0e446485b2f3de555a8abeda8292d9f035caf.zip |
Add sysfs and tmpfilesd.sysinit to the sysinit runlevel and
tmpfilesd.boot to the boot runlevel when upgrading.
(Portage version: 2.2.0_alpha134/cvs/Linux i686)
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r-- | sys-apps/openrc/openrc-9999.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index 8e077c06c5ab..094775fe31c6 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.105 2012/09/28 19:56:14 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.106 2012/09/28 21:18:26 williamh Exp $ EAPI=4 @@ -246,6 +246,12 @@ pkg_preinst() { # swapfiles was added in 0.9.9 and needed in boot (february 2012) has_version ">=sys-apps/openrc-0.9.9" || add_boot_init swapfiles + if [ has_version ">=sys-apps/openrc-0.9.9" ]; then + add_boot_init sysfs sysinit + add_boot_init tmpfilesd.sysinit sysinit + add_boot_init tmpfilesd.boot boot + fi + # set default interactive shell to sulogin if it exists set_config /etc/rc.conf rc_shell /sbin/sulogin "#" test -e /sbin/sulogin |