setup default console encoding to UTF-8
This commit is contained in:
parent
e25fed755a
commit
485e7d1e30
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user