Bug#184297: kbd-chooser: Wrong variable set in dbootstrap_settings?
Package: kbd-chooser
Version: 0.012
The current kbd-chooser will update /target/root/dbootstrap_setting,
and for a norwegian keyboard insert this:
# Inserted by kbd-chooser.
KBD_INST="no-latin1"
On the other hand, in base-config (/usr/lib/base-config/12console-tools),
the following code is present:
if [ -e /root/dbootstrap_settings ]; then
. /root/dbootstrap_settings || true
fi
if [ ! -e /etc/console-tools/default.kmap.gz ]; then
if [ "$KEYBD" ]; then
install-keymap /usr/share/keymaps/${KEYBD}.kmap.gz || true
elif [ "$SERIALCONSOLE" ]; then
I suspect the variable inserted by kbd-chooser should be renamed from
KBD_INST to KEYBD, and changed to contain the complete path to the
keyboard map. The correct content for KEYBD in this case would be
"i386/qwerty/no-latin1".
It is better to do this in kbd-chooser instead of changing base-config
to make sure the new installer will work with the base-config in Woody
as well as the version in Sid/Sarge.
Reply to: