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

Bug#619711: console-setup: breaks copying keymap to initramfs



* maximilian attems [Die Apr 05, 2011 at 11:00:49 +0200]:
> On Tue, 29 Mar 2011, Anton Zinoviev wrote:

[...]

> > It will be difficult for initramfs-tools to tell what is the correct 
> > name of the cached keymap.  Symlinking the new name to the old is 
> > unreliable so I'd prefer not to implement this.  Because of this in 
> > version 1.72 of console-setup a new option of setupcon is implemented 
> > --save-keyboard.  Suppose you want to save the keymap in 
> > /tmp/initrd/etc/console-setup/cached.kmap.gz.  Then simply use the 
> > following command:

> > setupcon --save-keyboard /tmp/initrd/etc/console-setup/cached.kmap.gz

> > Alternatively, instead of --save-keyboard you can use --setup-dir.  I 
> > will explain this second option in a separate bug report.  Both new 
> > options of setupcon are for now undocumented because I want to know 
> > first that they will be useful.

> I'd prerfer that console-setup would ship an proper initramfs hook
> telling what to add to initramfs, will followup on the other report
> on that soonest.

So, how could we resolve this issue?

Anton, is there any chance you could provide an initramfs hook which
takes care of that? (The advantage of this approach would be that
the hook can use features of console-setup according to its version
and you'd have full control over it.)

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: