1 commit 10caf0b2db3fc04fae24ca896cf21f6aed12bbbc
2 Author: Christian Hofstaedtler <ch@grml.org>
3 Date: Fri Mar 25 23:02:38 2011 +0100
5 support DNS in boot environment
7 Thanks to Ulrich Dangel for discovering this. [Closes: issue848]
9 diff --git a/hooks/live b/hooks/live
10 index 309c26f..3862a60 100755
13 @@ -252,17 +252,14 @@ then
14 manual_add_modules crc32c
17 -if [ "${LIVE_DNS}" = "true" ]
19 - [ "${QUIET}" ] || echo -n " "dns
20 - #copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
21 - copy_exec /lib/libnss_dns.so.* /lib # DNS server
22 - #copy_exec /lib/libnss_compat.so.* /lib # /etc/passwd
24 - # Configuration file - may be needed if /etc/hosts is used.
25 - #mkdir -p $DESTDIR/etc
26 - #cp -p /etc/nsswitch.conf $DESTDIR/etc
29 +#copy_exec /lib/libnss_files.so.* /lib # /etc/hosts and /etc/passwd
30 +copy_exec /lib/libnss_dns.so.* /lib # DNS server
31 +#copy_exec /lib/libnss_compat.so.* /lib # /etc/passwd
33 +# Configuration file - may be needed if /etc/hosts is used.
34 +#mkdir -p $DESTDIR/etc
35 +#cp -p /etc/nsswitch.conf $DESTDIR/etc
37 if [ "${LIVE_UNIONMOUNT}" = "true" ]