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

Bug#721460: Acknowledgement (debian-installer: Unable to preseed keyboard layout de_CH for Wheezy)



I had time to do some more testing.

In the file keyboard-configuration.config I saw the following line:
sg) XKBLAYOUT="ch"; XKBVARIANT="de";;

So I tried the following settings:
language=en country=CH locale=en_US.UTF-8 debian-installer/keymap=sg keymap=sg
Unfortunately the settings were not set correctly.
The file /etc/default/keyboard contained:
XKBMODEL="pc105"
XKBLAYOUT=""
XKBVARIANT="de"
XKBOPTIONS=""
I edited the file keyboard-configuration.config and changed the following:
*** initorig/usr/share/console-setup/keyboard-configuration.config    2013-09-28 19:15:48.344767770 +0200
--- init/usr/share/console-setup/keyboard-configuration.config    2013-09-28 19:14:48.260770188 +0200
***************
*** 1404,1409 ****
--- 1404,1411 ----
  | grep "layout[*]$default_layout[*]" >/dev/null
  then
  default_layout=us
+ else
+ unsupported_layout=no
  fi
  fi
  if [ "$default_layout" = bg -a -z "$default_variant" ]; then
 
After repacking the initrd.gz with the new file it worked.
The file /etc/default/keyboard contained:
XKBMODEL="pc105"
XKBLAYOUT="ch"
XKBVARIANT=""
XKBOPTIONS=""
I'm not sure if that is the right way but it works for me at least.
 
Regards
Stephan

Reply to: