diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-08-16 14:11:04 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-08-16 14:11:04 +0000 |
commit | bb0bef8f795ebcefa4b95803f9ef10e09e649acc (patch) | |
tree | dce4576540f425d0004de1a5784c5147b8e28bbc | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-bb0bef8f795ebcefa4b95803f9ef10e09e649acc.tar.gz gentoo-2-bb0bef8f795ebcefa4b95803f9ef10e09e649acc.tar.bz2 gentoo-2-bb0bef8f795ebcefa4b95803f9ef10e09e649acc.zip |
Check that all net.* files are now symlinks to net.lo
(Portage version: 2.1.1_pre5-r1)
-rw-r--r-- | sys-apps/baselayout/ChangeLog | 4 | ||||
-rw-r--r-- | sys-apps/baselayout/baselayout-1.12.4-r6.ebuild | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys-apps/baselayout/ChangeLog b/sys-apps/baselayout/ChangeLog index 7e75d1acb23f..957c6558515c 100644 --- a/sys-apps/baselayout/ChangeLog +++ b/sys-apps/baselayout/ChangeLog @@ -1,12 +1,14 @@ # ChangeLog for sys-apps/baselayout # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.343 2006/08/16 10:37:50 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.344 2006/08/16 14:11:04 uberlord Exp $ # See the rc-scripts ChangeLog in subversion for release info: # http://sources.gentoo.org/viewcvs.py/*checkout*/baselayout/trunk/ChangeLog 16 Aug 2006; Roy Marples <uberlord@gentoo.org> baselayout-1.12.4-r6.ebuild: + Check that all net.* files are now symlinks to net.lo + Block old versions of dhcpcd to stop bugs like #143885. *baselayout-1.12.4-r6 (15 Aug 2006) diff --git a/sys-apps/baselayout/baselayout-1.12.4-r6.ebuild b/sys-apps/baselayout/baselayout-1.12.4-r6.ebuild index 21daa715581b..e066237352fa 100644 --- a/sys-apps/baselayout/baselayout-1.12.4-r6.ebuild +++ b/sys-apps/baselayout/baselayout-1.12.4-r6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.12.4-r6.ebuild,v 1.2 2006/08/16 10:37:50 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.12.4-r6.ebuild,v 1.3 2006/08/16 14:11:04 uberlord Exp $ inherit flag-o-matic eutils toolchain-funcs multilib @@ -571,15 +571,15 @@ pkg_postinst() { einfo " # etc-update" echo - for f in /etc/init.d/net.eth*; do - [[ -L ${f} ]] && continue + for f in ${ROOT}etc/init.d/net.* ; do + [[ -L ${f} || ${f} == "${ROOT}etc/init.d/net.lo" ]] && continue echo - einfo "WARNING: You have older net.eth* files in ${ROOT}/etc/init.d/" + einfo "WARNING: You have older net.* files in ${ROOT}etc/init.d/" einfo "They need to be converted to symlinks to net.lo. If you haven't" einfo "made personal changes to those files, you can update with the" einfo "following command:" einfo - einfo " # /bin/ls /etc/init.d/net.eth* | xargs -n1 ln -sfvn net.lo" + einfo " /bin/ls ${ROOT}etc/init.d/net.* | grep -v '/net.lo$' | xargs -n1 ln -sfvn net.lo" echo break done |