summaryrefslogtreecommitdiffstats
path: root/package/glibc
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-10-20 09:28:05 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-25 12:48:17 +0200
commite1eba3d97c5d435ed1b88fdb6b6989871aa2c9eb (patch)
tree247ebe63543bc8ae29dca992209a10ce41e797e7 /package/glibc
parent9623ff651f83a350819719f10705552da9793205 (diff)
downloadbuildroot-e1eba3d97c5d435ed1b88fdb6b6989871aa2c9eb.tar.gz
buildroot-e1eba3d97c5d435ed1b88fdb6b6989871aa2c9eb.zip
system/skeleton: make nsswitch install conditional
Don't blindly install the /etc/nsswitch.conf file, it's useless for toolchains that aren't (e)glibc-based and misleading. Make the installation conditional on a (e)glibc toolchain. [Thomas: use $(INSTALL) instead of cp.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/glibc')
-rw-r--r--package/glibc/nsswitch.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/glibc/nsswitch.conf b/package/glibc/nsswitch.conf
new file mode 100644
index 0000000000..d81e2f053e
--- /dev/null
+++ b/package/glibc/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
+
OpenPOWER on IntegriCloud