diff options
author | Ned Ludd <solar@gentoo.org> | 2004-06-15 07:00:26 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-06-15 07:00:26 +0000 |
commit | 976d8f3cb7fef4f4c47a8c4238f5e873a28a9295 (patch) | |
tree | 40b196a90a7d2340848376d356b92f1b030c5035 /sys-apps/baselayout-lite | |
parent | basic uclibc support added (Manifest recommit) (diff) | |
download | gentoo-2-976d8f3cb7fef4f4c47a8c4238f5e873a28a9295.tar.gz gentoo-2-976d8f3cb7fef4f4c47a8c4238f5e873a28a9295.tar.bz2 gentoo-2-976d8f3cb7fef4f4c47a8c4238f5e873a28a9295.zip |
remove unneeded /etc/nsswitch.conf with USE=uclibc
Diffstat (limited to 'sys-apps/baselayout-lite')
-rw-r--r-- | sys-apps/baselayout-lite/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/baselayout-lite/ChangeLog b/sys-apps/baselayout-lite/ChangeLog index 942aa511818a..197664a8a2bc 100644 --- a/sys-apps/baselayout-lite/ChangeLog +++ b/sys-apps/baselayout-lite/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/baselayout-lite # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-lite/ChangeLog,v 1.1 2004/02/23 03:19:56 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-lite/ChangeLog,v 1.2 2004/06/15 07:00:26 solar Exp $ + + 15 Jun 2004; <solar@gentoo.org> baselayout-lite-1.0_pre1.ebuild: + remove unneeded /etc/nsswitch.conf with USE=uclibc *baselayout-lite-1.0_pre1 (22 Feb 2004) diff --git a/sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild b/sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild index 22dd25ce59c4..d05814636ee4 100644 --- a/sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild +++ b/sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild,v 1.2 2004/02/27 20:21:45 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-lite/baselayout-lite-1.0_pre1.ebuild,v 1.3 2004/06/15 07:00:26 solar Exp $ -IUSE="" +IUSE="build bootstrap uclibc" DESCRIPTION="Baselayout for embedded systems" HOMEPAGE="http://www.gentoo.org/proj/en/base/embedded/" @@ -19,6 +19,7 @@ src_install() { insinto /etc doins ${S}/{fstab,group,nsswitch.conf,passwd,profile.env,protocols,shells} doins ${S}/init/inittab + use uclibc && rm -f ${D}/etc/nsswitch.conf exeinto /etc/init.d doexe ${S}/init/rc[SK] @@ -46,7 +47,7 @@ pkg_postinst() { # Touching /etc/passwd and /etc/shadow after install can be fatal, as many # new users do not update them properly. thus remove all ._cfg files if # we are not busy with a build. - if [ -z "`use build`" -a -z "`use bootstrap`" ] + if ! ( use build || use bootstrap ) then ewarn "Removing invalid backup copies of critical config files..." rm -f ${ROOT}/etc/._cfg????_{passwd,shadow} |