live: set up basic unicode locale
This only deals with console output (a text livecd doesn't ask the user regarding the preferred language so far). Refer to these discussions if needed: https://bugzilla.altlinux.org/show_bug.cgi?id=25225 https://lists.altlinux.org/pipermail/devel-conf/2005-August/001785.html
This commit is contained in:
parent
3c1bca535c
commit
73f676f92c
12
features.in/live/live/image-scripts.d/20-locale
Executable file
12
features.in/live/live/image-scripts.d/20-locale
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh -efu
|
||||||
|
# if no means for locale setup are employed,
|
||||||
|
# it should still be somewhat reasonable
|
||||||
|
# NB: keyboard layout not included!
|
||||||
|
|
||||||
|
mkdir -p /etc/sysconfig
|
||||||
|
cat >> /etc/sysconfig/i18n << _EOF_
|
||||||
|
# mkimage-profiles live 20-locale hook
|
||||||
|
SYSFONT=UniCyr_8x16
|
||||||
|
LANG=en_US.utf8
|
||||||
|
_EOF_
|
||||||
|
:
|
Loading…
Reference in New Issue
Block a user