Merge pull request #132 from marineam/nsswitch

fix(coreos-base/coreos-base): Include default nsswitch.conf
This commit is contained in:
polvi 2013-07-27 10:42:32 -07:00
commit 113b6e6282
3 changed files with 27 additions and 0 deletions

View File

@ -125,6 +125,9 @@ src_install() {
# Insert empty fstab # Insert empty fstab
doins "${FILESDIR}"/fstab doins "${FILESDIR}"/fstab
# Insert glibc's nsswitch.conf since that is installed weirdly
doins "${FILESDIR}"/nsswitch.conf
# Symlink /etc/localtime to something on the stateful partition, which we # Symlink /etc/localtime to something on the stateful partition, which we
# can then change around at runtime. # can then change around at runtime.
dosym /var/lib/timezone/localtime /etc/localtime || die dosym /var/lib/timezone/localtime /etc/localtime || die

View File

@ -0,0 +1,24 @@
# /etc/nsswitch.conf:
# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf,v 1.1 2006/09/29 23:52:23 vapier Exp $
passwd: compat
shadow: compat
group: compat
# passwd: db files nis
# shadow: db files nis
# group: db files nis
hosts: files dns
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files