From e16136b8e8b6cdd84dcf8fa16a0a3a1e019672a2 Mon Sep 17 00:00:00 2001 From: Armin Luntzer Date: Thu, 22 Nov 2007 19:50:46 +0100 Subject: mkarchroot: copy /etc/resolv.conf to chroot Signed-off-by: Jason Chu --- mkarchroot | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkarchroot') diff --git a/mkarchroot b/mkarchroot index d181daf..9a7078f 100755 --- a/mkarchroot +++ b/mkarchroot @@ -163,6 +163,8 @@ else cp ${makepkg_conf} ${working_dir}/etc/makepkg.conf fi + echo "copying resolv.conf : /etc/resolv.conf" + cp /etc/resolv.conf "${working_dir}/etc/resolv.conf" echo "generating default locales" sed -i "s|^#\(.*$LANG\)|\1|g" "${working_dir}/etc/locale.gen" -- cgit v1.2.3-70-g09d2