diff options
author | William Hubbs <williamh@gentoo.org> | 2015-04-29 15:26:25 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-04-29 15:26:25 +0000 |
commit | 6f8ccdf8f143ac4a896280a4bf778b34620280e5 (patch) | |
tree | 365613135b756d51fc45e903e41b740ce73f02a3 /sys-fs | |
parent | version bump (diff) | |
download | gentoo-2-6f8ccdf8f143ac4a896280a4bf778b34620280e5.tar.gz gentoo-2-6f8ccdf8f143ac4a896280a4bf778b34620280e5.tar.bz2 gentoo-2-6f8ccdf8f143ac4a896280a4bf778b34620280e5.zip |
Stop adding our services to the sysinit runlevel automatically for bug #534704
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev-init-scripts/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild | 19 |
2 files changed, 7 insertions, 18 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog index bda0670e0b34..263dc7e98059 100644 --- a/sys-fs/udev-init-scripts/ChangeLog +++ b/sys-fs/udev-init-scripts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/udev-init-scripts # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.116 2015/04/25 16:40:29 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.117 2015/04/29 15:26:25 williamh Exp $ + + 29 Apr 2015; William Hubbs <williamh@gentoo.org> + udev-init-scripts-9999.ebuild: + Stop adding our services to the sysinit runlevel automatically for bug #534704 25 Apr 2015; Mike Gilbert <floppym@gentoo.org> udev-init-scripts-27.ebuild, udev-init-scripts-9999.ebuild: diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild index 27b6c24ea713..22ba52174de2 100644 --- a/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild +++ b/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild,v 1.31 2015/04/25 16:40:29 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild,v 1.32 2015/04/29 15:26:25 williamh Exp $ EAPI=5 @@ -33,22 +33,7 @@ src_prepare() { } pkg_postinst() { - # Add udev to the sysinit runlevel automatically if this is - # the first install of this package. - if [[ -z ${REPLACING_VERSIONS} ]]; then - if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then - mkdir -p "${ROOT%/}"/etc/runlevels/sysinit - fi - if [[ -x ${ROOT%/}/etc/init.d/udev ]]; then - ln -s /etc/init.d/udev "${ROOT%/}"/etc/runlevels/sysinit/udev - fi - if [[ -x ${ROOT%/}/etc/init.d/udev-trigger ]]; then - ln -s /etc/init.d/udev-trigger \ - "${ROOT%/}"/etc/runlevels/sysinit/udev-trigger - fi - fi - - # Warn the user about adding udev to their sysinit runlevel + # Warn the user about adding udev and udev-trigger to the sysinit runlevel if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/udev ]]; then ewarn |