Commit a33776a0 authored by Matti Hyttinen's avatar Matti Hyttinen
Browse files

set locale in the background for better speed

parent 26d16e30
......@@ -846,7 +846,7 @@ set_locale() {
echo "LANG=\"${LOCALE}\"" > ${MOUNTPOINT}/etc/locale.conf
sed -i "s/#${LOCALE}/${LOCALE}/" ${MOUNTPOINT}/etc/locale.gen 2>$ERR
arch_chroot "locale-gen" >/dev/null 2>$ERR
arch_chroot "locale-gen" >/dev/null 2>$ERR &
check_for_error "$FUNCNAME" "$?"
ini linux.locale "$LOCALE"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment