FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-06-2011, 05:13 PM
Chris Lumens
 
Default If we're not given a language on the command line, set up English.

On a DVD-based install if we don't do this, then we get to python without
any locale having been built. This appears to be mostly harmless except
for a scary looking message on tty1.
---
loader/loader.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index d4437c3..d4b82be 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2017,8 +2017,10 @@ int main(int argc, char ** argv) {
mlLoadModule("spufs", NULL);
#endif

- if (loaderData.lang && (loaderData.lang_set == 1)) {
+ if (loaderData.lang && loaderData.lang_set == 1) {
setLanguage(loaderData.lang, 1);
+ } else {
+ setLanguage("en_US.UTF-8", 1);
}

/* FIXME: this is a bit of a hack */
--
1.7.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-06-2011, 08:10 PM
Chris Lumens
 
Default If we're not given a language on the command line, set up English.

On a DVD-based install if we don't do this, then we get to python without
any locale having been built. This appears to be mostly harmless except
for a scary looking message on tty1.
---
loader/loader.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 79c1b8c..992e023 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2072,8 +2072,10 @@ int main(int argc, char ** argv) {
mlLoadModule("spufs", NULL);
#endif

- if (loaderData.lang && (loaderData.lang_set == 1)) {
+ if (loaderData.lang && loaderData.lang_set == 1) {
setLanguage(loaderData.lang, 1);
+ } else {
+ setLanguage("en_US.UTF-8", 1);
}

/* FIXME: this is a bit of a hack */
--
1.7.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org