setup default console encoding to UTF-8

This commit is contained in:
Marek Marczykowski 2012-11-20 19:52:21 +01:00
parent e25fed755a
commit 485e7d1e30

View File

@ -81,6 +81,11 @@ echo "--> Linking /usr/local to /rw/usrlocal..."
mv mnt/usr/local mnt/usr/local.orig
ln -sf /rw/usrlocal mnt/usr/local
if ! [ -r mnt/etc/sysconfig/i18n ]; then
echo "--> Setting up default locale..."
echo LC_CTYPE=en_US.UTF-8 > mnt/etc/sysconfig/i18n
fi
echo "--> Unmounting $IMG"
umount mnt/proc mnt