From e1eba3d97c5d435ed1b88fdb6b6989871aa2c9eb Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 20 Oct 2014 09:28:05 -0300 Subject: 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 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/glibc/nsswitch.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/glibc/nsswitch.conf (limited to 'package/glibc') 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 + -- cgit v1.2.3