On 31.12.2010 02:44, Michael Biebl wrote:
> systemd ships /lib/systemd/systemd-vconsole-setup which allows to setup
> the virtual consoles (font and keymap).
> 
> For that to work, it spawns
> /bin/loadkeys and /bin/setfont, both shipped within the "kbd" package,
> the keymap data, shipped in "console-data" and the config file
> /etc/vconsole.conf correctly set up.

Here is some additional information. I stumbled upon that when upgrading a
default lenny installation to squeeze and installing systemd afterwards.

I looks like in lenny, console-tools was preferred over kbd.
The /bin/loadkeys binary from console-tools does not understand the -C option
though, so systemd-vconsole-setup errs out with this message:

# /lib/systemd/systemd-vconsole-setup
/bin/loadkeys: invalid option -- 'C'
Usage: loadkeys [option...] [mapfile...]
valid options are:
-c --clearcompose clear kernel compose table
-d --default load default keymap file
-m --mktable output a "defkeymap.c" to stdout
-s --clearstrings clear kernel string table
-q --quiet be silent
-u --unicode unicode
-v --verbose report the changes
-v --verbose report more changes
-h --help display this help text and exit
-V --version display version information and exit

The /bin/setfont binary that is used in src/vconsole-setup.c is only shipped in
kbd, the console-tools package does not have such a binary.

So, I think systemd should ensure that the kbd package (along with console-data)
is being installed.

* A default squeeze installation seems to install kbd, console-setup and
keyboard-configuration.
* A default lenny system upgraded to squeeze has console-tools, console-common
and console-data.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to