diff --git a/package/yast2-installation.changes b/package/yast2-installation.changes index 53f7dd44f..ce2876504 100644 --- a/package/yast2-installation.changes +++ b/package/yast2-installation.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 17 16:10:19 UTC 2020 - Knut Anderssen + +- Force the use of en_US.UTF-8 when running firstboot or the + AutoYaST Second Stage with 'POSIX' or 'C as RC_LANG (bsc#1169017) +- 3.4.1 + ------------------------------------------------------------------- Wed Sep 25 08:02:58 UTC 2019 - Steffen Winterfeldt diff --git a/package/yast2-installation.spec b/package/yast2-installation.spec index c906471e1..d668c8fd8 100644 --- a/package/yast2-installation.spec +++ b/package/yast2-installation.spec @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.4.0 +Version: 3.4.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/startup/common/language.sh b/startup/common/language.sh index 0e3396443..cc0c5ceac 100644 --- a/startup/common/language.sh +++ b/startup/common/language.sh @@ -73,8 +73,13 @@ function set_language_cont () { export RC_LANG=en_US fi - # get rid of encoding and/or modifier - export LANG=${RC_LANG%%[.@]*}.UTF-8 + if [ "$RC_LANG" == "POSIX" ] || [ "$RC_LANG" == "C" ] ; then + log "\tRC_LANG is ${RC_LANG}, using LANG en_US.UTF-8 as default..." + export LANG=en_US.UTF-8 + else + # get rid of encoding and/or modifier + export LANG=${RC_LANG%%[.@]*}.UTF-8 + fi } #----[ start_unicode ]-----#