summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Luntzer <armin@archlinuxppc.org>2007-11-22 19:50:46 +0100
committerJason Chu <jchu@xentac.net>2007-11-27 16:45:28 -0800
commite16136b8e8b6cdd84dcf8fa16a0a3a1e019672a2 (patch)
treed1381d90d6d1075908feb4ea4d9fbf595f64aee9
parent9e660ee86e185a42514f11d1f7bab80dc3c1c49c (diff)
downloaddevtools-e16136b8e8b6cdd84dcf8fa16a0a3a1e019672a2.tar.xz
mkarchroot: copy /etc/resolv.conf to chroot
Signed-off-by: Jason Chu <jchu@xentac.net>
-rwxr-xr-xmkarchroot2
1 files changed, 2 insertions, 0 deletions
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"