base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwise name resolution fails
SVN-Revision: 25568
This commit is contained in:
parent
57be27f340
commit
090c042089
2 changed files with 14 additions and 0 deletions
|
@ -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.* \
|
||||
|
|
13
package/base-files/glibc-files/etc/nsswitch.conf
Normal file
13
package/base-files/glibc-files/etc/nsswitch.conf
Normal file
|
@ -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
|
Loading…
Reference in a new issue