| Summary: | !live install using LiveDVD loses i18n settings (when switching from finish-install to draklive-install) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Rémi Verschelde <rverschelde> |
| Component: | Release (media or process) | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | release_blocker | CC: | eeeemail, mageiasv, marja11, olchal, sysadmin-bugs, thierry.vignaud, tmb, yochenhsieh |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | 5beta3 5rc | ||
| Source RPM: | draklive-install | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 14069 | ||
|
Description
Rémi Verschelde
2015-02-12 11:52:46 CET
CC'ing Thierry and Thomas. I guess this one doesn't have to be a release blocker since it only affects direct install using Live ISOs, so it's only 5 or 6 screens that are in English instead of the chosen locale. Would be nice to have a fix for mga5 though :) CC:
(none) =>
thierry.vignaud, tmb IINM the locale is lost when switching from stage1 to stage2. Well, live medias dont use stage2 at install time, it's run only during image creation time. So its more of draklive-install issue did instal direct with the rc kde live dvd 64 in virtual box. i get the lokalasation setting every time i boot to the system CC:
(none) =>
mageiasv
claire robinson
2015-04-30 18:42:41 CEST
CC:
(none) =>
eeeemail Speaking with MÃ¥rten on IRC. He is being asked for l10n settings at finish-install and then every consequent boot. He chooses Swedish and everything is then OK for that session, until the next boot. Setting as a release blocker Priority:
Normal =>
release_blocker He says the installed user is still 'live' Performed a swedish installation from kde live dvd 64 in vbox with en_GB keyboard. From grub screen onwards it is in english. The other problems MÃ¥rten was having look to be due to having livecd/dvd ticked in vbox so the iso is not ejected and booting into live again. Still valid with the RC ISOs, same situation as comment 0.
Samuel Verschelde
2015-05-03 12:46:43 CEST
Whiteboard:
5beta3 =>
5beta3 5rc
You-Cheng Hsieh
2015-05-07 10:13:49 CEST
CC:
(none) =>
yochenhsieh My first guess would be that draklive-install's /etc/X11/xsetup.d/60draklive-install.xsetup could be patched so that it checks for /etc/sysconfig/i18n and parse it if locale env variables are not set (which is the case on live DVD when booting with "install" choice and setting language first to eg: french with F2 in syslinux.
However it already does that.
But the following command on LiveDVD shows that indeed there's no i18n env variable set for draklive-install
xargs --null -n1 echo </proc/$(pidof perl)/environ
The issue is that it source those files but those variables are *NOT* exported
adding the following should do it:
export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY \
LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT \
LC_IDENTIFICATIONSummary:
Non-live install using LiveDVD loses i18n settings =>
!live install using LiveDVD loses i18n settings (when switching from finish-install to draklive-install) commit d25437d06655946b8ea854a226050c762a21b645
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Sat May 9 17:47:07 2015 +0200
keep i18n settings on !live install (mga#15273)
we do import the i18n variables but they never were exported...
---
Commit Link:
http://gitweb.mageia.org/software/draklive-install/commit/?id=d25437d06655946b8ea854a226050c762a21b645
Should be fixed in next build Status:
NEW =>
RESOLVED Tested OK (by altering the above file prior to finish-install completion) Please take a note that we use /etc/locale.conf for i18n variables now... Not sure if it matters, just a reminder. We already try both... |