From 73f676f92c6e031c708d8fb762f3501722f600eb Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Sat, 5 Nov 2011 11:25:03 +0200 Subject: [PATCH] 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 --- features.in/live/live/image-scripts.d/20-locale | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 features.in/live/live/image-scripts.d/20-locale diff --git a/features.in/live/live/image-scripts.d/20-locale b/features.in/live/live/image-scripts.d/20-locale new file mode 100755 index 00000000..c1e245fb --- /dev/null +++ b/features.in/live/live/image-scripts.d/20-locale @@ -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_ +: