From 9e9adf807505e4355a98206f0937e504fcf77a84 Mon Sep 17 00:00:00 2001 From: Jun-Ru Chang Date: Sat, 28 Mar 2015 12:33:24 +0800 Subject: [PATCH] mkimage-arch: set C.UTF-8 default locale It may not work fine when doing expect script if setting other locales. Signed-off-by: Jun-Ru Chang --- contrib/mkimage-arch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/mkimage-arch.sh b/contrib/mkimage-arch.sh index bbecf72903..06406fecd5 100755 --- a/contrib/mkimage-arch.sh +++ b/contrib/mkimage-arch.sh @@ -14,6 +14,8 @@ hash expect &>/dev/null || { exit 1 } +export LANG="C.UTF-8" + ROOTFS=$(mktemp -d ${TMPDIR:-/var/tmp}/rootfs-archlinux-XXXXXXXXXX) chmod 755 $ROOTFS