mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
fix(coreos-base/coreos-base): Include default nsswitch.conf
Until we start installing glibc like sane people we need to include this via other means. Without it name resolution behavior is somewhat surprising.
This commit is contained in:
parent
ec9ee86139
commit
6f7ec78b85
@ -125,6 +125,9 @@ src_install() {
|
||||
# Insert empty 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
|
||||
# can then change around at runtime.
|
||||
dosym /var/lib/timezone/localtime /etc/localtime || die
|
||||
|
24
sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-base/files/nsswitch.conf
vendored
Normal file
24
sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-base/files/nsswitch.conf
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user