glibc: create a default /etc/nsswitch.conf.
--HG-- extra : convert_revision : 971eb252cf98abb3039e2fef0ba1e7bff42ef9af
This commit is contained in:
parent
e54c4cb249
commit
548bb7fb61
1 changed files with 15 additions and 0 deletions
|
@ -60,5 +60,20 @@ post_install()
|
|||
$destdir/usr/bin/ldd
|
||||
fi
|
||||
|
||||
# Create nsswitch.conf
|
||||
( \
|
||||
echo "passwd: files"; \
|
||||
echo "group: files"; \
|
||||
echo "shadow: files"; \
|
||||
echo; \
|
||||
echo "hosts: files dns"; \
|
||||
echo "networks: files"; \
|
||||
echo; \
|
||||
echo "protocols: files"; \
|
||||
echo "services: files"; \
|
||||
echo "ethers: files"; \
|
||||
echo "rpc: files"; \
|
||||
) > $destdir/etc/nsswitch.conf
|
||||
|
||||
wrksrc=${wrksrc%%/build_obj}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue