ssuominen 14/04/08 08:32:11 Modified: kmod-9999.ebuild ChangeLog Log: Push last change to -16 also to -9999. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.69 sys-apps/kmod/kmod-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?rev=1.69&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?rev=1.69&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?r1=1.68&r2=1.69 Index: kmod-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- kmod-9999.ebuild 5 Feb 2014 09:46:31 -0000 1.68 +++ kmod-9999.ebuild 8 Apr 2014 08:32:11 -0000 1.69 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.68 2014/02/05 09:46:31 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.69 2014/04/08 08:32:11 ssuominen Exp $ EAPI=5 inherit bash-completion-r1 eutils multilib @@ -110,20 +110,23 @@ pkg_postinst() { if use openrc; then - if [[ -L ${ROOT}etc/runlevels/boot/static-nodes ]]; then + if [[ -L ${ROOT%/}/etc/runlevels/boot/static-nodes ]]; then ewarn "Removing old conflicting static-nodes init script from the boot runlevel" - rm -f "${ROOT}"etc/runlevels/boot/static-nodes + rm -f "${ROOT%/}"/etc/runlevels/boot/static-nodes fi # Add kmod to the runlevel automatically if this is the first install of this package. if [[ -z ${REPLACING_VERSIONS} ]]; then - if [[ -x ${ROOT}etc/init.d/kmod-static-nodes && -d ${ROOT}etc/runlevels/sysinit ]]; then - ln -s /etc/init.d/kmod-static-nodes "${ROOT}"/etc/runlevels/sysinit/kmod-static-nodes + if [[ ! -d ${ROOT%/}/etc/runlevels/sysinit ]]; then + mkdir -p "${ROOT%/}"/etc/runlevels/sysinit + fi + if [[ -x ${ROOT%/}/etc/init.d/kmod-static-nodes ]]; then + ln -s /etc/init.d/kmod-static-nodes "${ROOT%/}"/etc/runlevels/sysinit/kmod-static-nodes fi fi - if [[ -e ${ROOT}etc/runlevels/sysinit ]]; then - if [[ ! -e ${ROOT}etc/runlevels/sysinit/kmod-static-nodes ]]; then + if [[ -e ${ROOT%/}/etc/runlevels/sysinit ]]; then + if [[ ! -e ${ROOT%/}/etc/runlevels/sysinit/kmod-static-nodes ]]; then ewarn ewarn "You need to add kmod-static-nodes to the sysinit runlevel for" ewarn "kernel modules to have required static nodes!" 1.140 sys-apps/kmod/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.140&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.140&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?r1=1.139&r2=1.140 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v retrieving revision 1.139 retrieving revision 1.140 diff -u -r1.139 -r1.140 --- ChangeLog 5 Apr 2014 11:02:10 -0000 1.139 +++ ChangeLog 8 Apr 2014 08:32:11 -0000 1.140 @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/kmod # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.139 2014/04/05 11:02:10 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.140 2014/04/08 08:32:11 ssuominen Exp $ + + 08 Apr 2014; Samuli Suominen <ssuomi...@gentoo.org> kmod-9999.ebuild: + Push last change to -16 also to -9999. 05 Apr 2014; Samuli Suominen <ssuomi...@gentoo.org> kmod-16.ebuild: If /etc/runlevels/sysinit is missing when we are installing for the first