[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more debian-installer hooks

On Tue, Oct 21, 2008 at 10:46:24AM +0200, Marco Amadori wrote:


> 0 - There is another use case where a user could want his preseed.cfg (or 
> more) included in the initramfs, like when he wants for preseed locale, 
> country and keyboard

[ apologies for possible the thread-stealing here]

I was just about to figure out how to set keyboard for the console and
X, when they have different names (e.g. "se-latin1" and "se"
respectively for swedish)

I thought about

# lh_config --bootappend-live "locale=sv_SE.utf8 keyb=se-latin1" 

together with

# echo 'xserver-xorg	xserver-xorg/config/inputdevice/keyboard/layout	string	se' | debconf-set-selections
dpkg-reconfigure xserver-xorg
' > config/chroot_local-hooks/my-hook

Is there another way of doing it?

Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E

Attachment: signature.asc
Description: Digital signature

Reply to: