summaryrefslogtreecommitdiff
path: root/configs/releng/build.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-07-01 21:31:16 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-07-09 15:14:49 -0300
commitf2009c4c76daf31cd008b6faee8b96abaacc7673 (patch)
tree06ea9cf01c982c3a36dae584709a67ee2bcd4b4d /configs/releng/build.sh
parent4090ba626017d1fd70f5b120c2337f2b746a6911 (diff)
downloadarchiso32-f2009c4c76daf31cd008b6faee8b96abaacc7673.tar.xz
[configs/releng] Re-generate locales only if needed.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/build.sh')
-rwxr-xr-xconfigs/releng/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 12e7636..d2923d9 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -30,6 +30,7 @@ make_customize_root_image() {
mkdir -p ${work_dir}/root-image/etc/pacman.d
wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/all/
sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
+ chroot ${work_dir}/root-image /usr/sbin/locale-gen
: > ${work_dir}/build.${FUNCNAME}
fi
}