mkarchroot: copy /etc/resolv.conf to chroot

Signed-off-by: Jason Chu <jchu@xentac.net>
This commit is contained in:
Armin Luntzer 2007-11-22 19:50:46 +01:00 committed by Jason Chu
parent 9e660ee86e
commit e16136b8e8
1 changed files with 2 additions and 0 deletions

View File

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