summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkarchroot4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkarchroot b/mkarchroot
index 2a02196..ec08542 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -136,6 +136,10 @@ else
ldconfig -r "${working_dir}"
fi
+ echo "generating default locales"
+ sed -i "s|^#\(.*$LANG\)|\1|g" /etc/locale.gen
+ locale-gen
+
if [ ! -e "${working_dir}/.arch-chroot" ]; then
date +%s > "${working_dir}/.arch-chroot"
fi