German locale in NFSROOT

Tim Cutts tjrc at sanger.ac.uk
Fri May 7 13:43:01 CEST 2010


On 7 May 2010, at 12:35 pm, Andreas Heinlein wrote:

> Hello,
> 
> I need a german locale environment in the NFSROOT, I think. I have some
> scripts which set gconf values on the clients using
> 
> $ROOTCMD gconftool-2 --direct --config-source
> xml:readwrite:/etc/gconf/gconf.defaults.xml /foo/bar...
> 
> Some of the values are strings containing german umlauts. This works
> fine under the running system, but fails when FAI runs the script during
> installation ("Invalid byte sequence in conversion input").
> 
> So I guess I need the german locale within the NFSROOT. How do I do this?

I'd presume you do it the same way you would with a real Debian system, you just need to do it by chroot into your nfsroot:

chroot /your/nfsroot/directory dpkg-reconfigure locales

Regards,

Tim

-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the linux-fai mailing list