Hi Please accept the following patch that fixes the locales config script so that it also works when persistency is enabled. Without this patch the locales option works only the very first time and is ignored on all later system starts.
Regards Ronny Standtke -- Ronny Standtke Fachhochschule Nordwestschweiz Dozent MedienpƤdagogik / ICT PƤdagogische Hochschule Telefon: +41 32 628 67 08 Obere Sternengasse 7 Mobil : +41 79 786 81 82 4502 Solothurn
>From 18a9273bd65c10d0e83fc1b69df03095167b0dfc Mon Sep 17 00:00:00 2001 From: Ronny Standtke <ronny.stand...@fhnw.ch> Date: Fri, 17 Dec 2010 09:42:35 +0000 Subject: [PATCH 203/203] made locales config script work with persistency --- scripts/config/004-locales | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/scripts/config/004-locales b/scripts/config/004-locales index 57d9dd6..9e4887b 100755 --- a/scripts/config/004-locales +++ b/scripts/config/004-locales @@ -11,8 +11,7 @@ Locales () { # Checking if package is installed or already configured - if [ ! -e /var/lib/dpkg/info/locales.list ] || \ - [ -e /var/lib/live/config/locales ] + if [ ! -e /var/lib/dpkg/info/locales.list ] then return fi @@ -93,9 +92,6 @@ Configure_locales () sed -i -e "s|# ${LANG} ${_CODEPAGE}|${LANG} ${_CODEPAGE}|" /etc/locale.gen locale-gen --keep-existing > /dev/null 2>&1 - - # Creating state file - touch /var/lib/live/config/locales } Locales -- 1.7.2.3