summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorStephan Hoffmann <sho@relinux.de>2012-12-02 07:13:32 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-02 16:32:16 -0800
commit4c52ff1acfb2953f1ac40cdce4387b7d1d8cef14 (patch)
treedfec51f3474f20cbd92d566902fcca204dddea55 /system
parentf619d5ba20ef46c57259f35a21bb98b7c85c35a4 (diff)
downloadbuildroot-novena-4c52ff1acfb2953f1ac40cdce4387b7d1d8cef14.tar.gz
buildroot-novena-4c52ff1acfb2953f1ac40cdce4387b7d1d8cef14.zip
skeleton: add /etc/nsswitch.conf
Toolchain Linaro 2012_09 and possibly other glibc based ones rely on the existence of nsswitch.conf. If it's missing names from /etc/hosts are not resolved and thus "localhost" is not known. Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'system')
-rw-r--r--system/skeleton/etc/nsswitch.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/skeleton/etc/nsswitch.conf b/system/skeleton/etc/nsswitch.conf
new file mode 100644
index 000000000..d81e2f053
--- /dev/null
+++ b/system/skeleton/etc/nsswitch.conf
@@ -0,0 +1,17 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd: files
+group: files
+shadow: files
+hosts: files dns
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+