Re: default locales

2008-11-18 Diskussionsfäden Ryan Steele

Michael Tautschnig wrote:

Hi Ryan,

[...]
  

I think the answer should be pretty simple: put a comma between the different
locales, like

locales locales/locales_to_be_generated multiselect en_US.UTF-8, UTF-8
  
  
The non-comma version was copied directly from the fai-doc simple  
examples.  If that's a typo, it's incorrect in the fai-doc package.




That should probably solve the problem.

  
  

Haven't had a chance to test this yet.




Did you already find the time to further investigate this?

Thanks,
Michael

  

Not yet, but I will this week, and can report back at that time.

Regards,
Ryan


Re: default locales

2008-11-18 Diskussionsfäden Jens Rosenboom
On Tue, Nov 18, 2008 at 04:18:37PM -0500, Ryan Steele wrote:
 Michael Tautschnig wrote:
 Hi Ryan,
 
 [...]
   
 I think the answer should be pretty simple: put a comma between the 
 different
 locales, like
 
 locales locales/locales_to_be_generated multiselect en_US.UTF-8, UTF-8
   
   
 The non-comma version was copied directly from the fai-doc simple  
 examples.  If that's a typo, it's incorrect in the fai-doc package.
 
 
 That should probably solve the problem.
 
   
   
 Haven't had a chance to test this yet.
 
 
 
 Did you already find the time to further investigate this?
 
 Thanks,
 Michael
 
   
 Not yet, but I will this week, and can report back at that time.

For me the version without comma is correct, as it specifies two parts
of the locale. If you want to enable multiple locales, you can simply
use multiple lines:

locales locales/locales_to_be_generated multiselect de_DE.UTF-8 UTF-8
locales locales/locales_to_be_generated multiselect [EMAIL PROTECTED] 
ISO-8859-15
locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8

giving

# cat /etc/locale.gen |grep -v '^#'
de_DE.UTF-8 UTF-8
[EMAIL PROTECTED] ISO-8859-15
en_US.UTF-8 UTF-8

on the installed client. I did have to add the package locales to the
FAIBASE package config however, it didn't get installed by default.


signature.asc
Description: Digital signature


Re: default locales

2008-11-13 Diskussionsfäden Thomas Lange
 On Wed, 12 Nov 2008 19:20:22 -0500, Ryan Steele [EMAIL PROTECTED] said:

 But even if it does, I really think that FAI should check to make sure 
 the client really has the debconf information we're told we can set in 
 the $FAI_CONFIGDIR/debconf/ directory.  Based on the log entries (or 
 lack thereof), I initially assumed nothing went wrong when setting up 
 the client's locales, which is not the case, and wasted time looking 
 elsewhere for problems.
It didn't get what the right solution would be? If there's a pacakge
that needs to be installed before others, we can do this in a hook.
If you need to set additional variables, thsi can also be done in a
hook with suffix .source.

-- 
regards Thomas