From: Hamish Guthrie Date: Fri, 18 Feb 2011 10:37:26 +0000 (+0000) Subject: base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwise name... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=090c04208901d09b7d87960d5531c5c0e318c956;p=openwrt%2Fstaging%2Frmilecki.git base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwise name resolution fails SVN-Revision: 25568 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 3ccd2c7f4b7..4abbdf7ac45 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -416,6 +416,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) use_nsswitch=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NSSWITCH),libnss_dns libnss_files) define Package/glibc/install + $(CP) ./glibc-files/* $(1)/ $(INSTALL_DIR) $(1)/lib $(CP) \ $(TOOLCHAIN_DIR)/lib/ld*.so.* \ diff --git a/package/base-files/glibc-files/etc/nsswitch.conf b/package/base-files/glibc-files/etc/nsswitch.conf new file mode 100644 index 00000000000..981c425da6c --- /dev/null +++ b/package/base-files/glibc-files/etc/nsswitch.conf @@ -0,0 +1,13 @@ +passwd:files +shadow:files +group:files +hosts:dns files +bootparams:files +ethers:files +netmasks:files +networks:files +protocols:files +rpc:files +services:files +automount:files +aliases:files