glibc: create a default /etc/nsswitch.conf.

--HG--
extra : convert_revision : 971eb252cf98abb3039e2fef0ba1e7bff42ef9af
This commit is contained in:
Juan RP 2008-11-26 11:30:36 +01:00
parent e54c4cb249
commit 548bb7fb61

View file

@ -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}
}