evand | mebrown: How's it going? Any more roadblocks? | 17:10 |
---|---|---|
cjwatson | preseeding languagechooser/language-name is kinda weird. I wouldn't recommend preseeding anything there other than debian-installer/locale; if that doesn't work then we have a bug | 17:37 |
cjwatson | twb: debian-installer/exit/halt=true for the record | 17:38 |
cjwatson | mebrown: the reason your mails to me are bouncing with a syntax error might be a problem with your mail client; the mail that Evan forwarded to me had my e-mail address quoted like this: 'cjwatson@canonical.com' - which if it's an accurate reflection of the mail headers isn't valid syntax. You need to get rid of those apostrophes | 17:40 |
cjwatson | evand: did you manage to reproduce Michael's problem? | 17:41 |
cjwatson | oem-config certainly does try to fetch the default language and switch the UI to match | 17:41 |
cjwatson | oh, hmm, I wonder | 17:42 |
evand | cjwatson: indeed. IIRC, and I could be off as I did this in the early hours of the morning, it was not saving debconf values from the installer phase. | 17:42 |
cjwatson | right, the preseeding won't actually be copied over as such, I was just arriving at the same conclusion | 17:42 |
evand | so when you got to oem-config, debian-installer/locale was blank | 17:42 |
evand | ah, indeed | 17:43 |
cjwatson | but I think that's actually correct behaviour; instead, oem-config should be taking steps to fetch the default locale | 17:43 |
cjwatson | for example by sourcing /etc/default/locale in the init script? | 17:43 |
evand | that makes sense to me | 17:43 |
cjwatson | though I suppose having oem-config-udeb specifically copy over relevant preseeded questions could make sense too | 17:43 |
evand | it does diverge from the ubiquity component a bit then though. | 17:44 |
cjwatson | hmm, sourcing it won't help, that won't magically turn into debian-installer/locale, bah | 17:44 |
cjwatson | evand: I think copying those variables may actually be the best we can do. Fancy doing that in a finish-install script in oem-config-udeb (you could tack onto one of the existing ones)? | 17:46 |
evand | FYI, bug 174937 seems pretty serious. I'm working on it today and hopefully I'll have it fixed before the impending alpha. | 17:46 |
ubotu | Launchpad bug 174937 in ubiquity "[hardy] Selecting Finnish or Danish on the language page triggers an infinte loop." [High,Confirmed] https://launchpad.net/bugs/174937 | 17:46 |
cjwatson | you'd have to hardcode the questions to copy, probably, and make sure the owner of those questions in the installed system is oem-config | 17:47 |
evand | cjwatson: debconf-copydb? | 17:47 |
evand | ah | 17:47 |
evand | ok | 17:47 |
evand | will do | 17:47 |
cjwatson | debconf-copydb> yeah | 17:48 |
cjwatson | hmm, be careful though | 17:48 |
evand | should I build an updated gutsy version as well, for mebrown to use, provided he has time to change the solution? Or is the current hack suitable? | 17:48 |
cjwatson | debconf-copydb can't set the owner | 17:48 |
evand | indeed | 17:49 |
evand | I imagine I'll have to change that immediately after | 17:49 |
cjwatson | let's just worry about hardy for now, we can supply mebrown with a patch if necessary | 17:49 |
evand | ok | 17:49 |
cjwatson | you could munge Owner: in the data stream with sed, or turn it into debconf-{get,set}-selections format and munge the first field, or ... | 17:50 |
evand | ah, ok | 17:51 |
cjwatson | 174937> ah, nasty; bug in ubiquity's localechooser integration | 17:51 |
cjwatson | I think I know the problem if you want a clue, but you might be having fun tracking it down yourself :-) | 17:52 |
cjwatson | (and it was my fault :-/) | 17:52 |
evand | oh, I'm always open to hints | 17:53 |
evand | hahaha | 17:53 |
cjwatson | so localechooser 1.40 required a tweak to ubiquity's integration because it was asking countrychooser/country-name rather than countrychooser/shortlist in some circumstances | 17:57 |
cjwatson | IIRC, that happens for any language where there's only one country to pick | 17:57 |
cjwatson | I just made ubiquity use the exact same handling for both questions | 17:58 |
cjwatson | that was wrong though | 17:58 |
cjwatson | countrychooser/shortlist takes the ISO-3166 country code (e.g. FI) | 17:58 |
cjwatson | countrychooser/country-name takes the ISO-3166 English name of the country (e.g. Finland) | 17:59 |
evand | ahhh | 17:59 |
cjwatson | so you probably need to adjust the integration to figure out the right thing to set it to | 17:59 |
cjwatson | (or conceivably just leave it alone, I'm not sure - try it with some combinations of languages and cities on the timezone page) | 18:00 |
evand | indeed, thanks for pointing me in the right direction, that definitely will save me some time | 18:00 |
evand | ok | 18:00 |
methhhp | where can i configure the default locale to ubuntu-installer? | 18:55 |
evand | methhhp: Use the debian-installer/locale debconf question, but keep in mind you'll need to set this on the kernel command line unless you're using initrd preseeding. See the install guide. | 19:00 |
methhhp | ok thanks | 19:00 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!