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

Bug#682857: console-setup-udeb: can't preseed keyboard layout=de variant=nodeadkeys



Hi,

I've been debugging a bit further. The following is a sketched flow how
the keyboard settings move within debconf:

preseeded:
d-i keyboard-configuration/xkb-keymap   select  de
d-i keyboard-configuration/layoutcode   string  de
d-i keyboard-configuration/variantcode  string  nodeadkeys

db_get keyboard-configuration/layoutcode
RET=de
db_get keyboard-configuration/variantcode
RET=nodeadkeys
db_get debian-installer/keymap
RET=10 debian-installer/keymap doesn't exist
db_default keyboard-configuration/xkb-keymap de(nodeadkeys)
# a db_get here will return the correct value
db_input critical keyboard-configuration/xkb-keymap
db_go
db_get keyboard-configuration/xkb-keymap
RET=us

The problem seems to be that "de(nodeadkeys)" is not in the Choices-C
set of the select template keyboard-configuration/xkb-keymap and the
db_input call (which is not presented to the user because I preseeded a
value there) followed by db_go seems to reset it to the default value "us".

Andreas


Reply to: