Bug#688503: Missing keymap in initramfs file when `console-setup' is not installed
Package: initramfs-tools
Version: 0.108
If one have package `console-setup' not installed, `update-initramfs' does not
include the keymap into the initramfs file generated.
A look into `/usr/share/initramfs-tools/hooks/keymap' shows that the keymap is
copied by using `/bin/setupcon' from the `console-setup'. But neither is
`console-setup' an essential package. nor does `initramfs-tools' depend on
it. Moreover the keymap hook `exit's with 0 if `/bin/loadkeys' or
`/bin/setupcon' (as in my case) is missing. Is this really the intended
behaviour?
I suggest to add `console-setup' as a dependency for `initramfs-tool' and add
an error or at least a warning if the keymap has to be loaded (by `KEYMAP=y'
`initramfs-tools' configuration) but one of the above tools is missing.
Moreover I suggest to use `KEYMAP=y' as default in
`/etc/initramfs-tools/initramfs.conf' since imho many Debian users have a
non-QWERTY keyboard layout.
I am using Debian GNU/Linux sid, kernel 3.2.0-3 and libc6 2.13-35.
Cheers,
Dirk
Reply to: