Package: debian-installer
Severity: normal
Hi,
I added my preseed configuration to initrd on a Debian 9.9.0 installer
media and installed the OS. I set the localization as I saw in the
example configuration of Stretch installer:
#### Contents of the preconfiguration file (for stretch)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string hu_HU
# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string hu
d-i debian-installer/country string HU
d-i debian-installer/locale string hu_HU.UTF-8
# Optionally specify additional locales to be generated.
#d-i localechooser/supported-locales multiselect hu_HU.UTF-8
# Keyboard selection.
d-i keyboard-configuration/xkb-keymap select hu
# d-i keyboard-configuration/toggle select No toggling
When I boot the installed OS I have the expected locales set but the
keyboard layout is "us" on the console. I have no
"/etc/default/keyboard" file where it should be set because the
installer isn't installed the "console-setup" and the
"keyboard-configuration" packages. If I write "console-setup" into the
"d-i pkgsel/include string" option it installs it and the result will be
hungarian layout, but there's a popup when installing the package and I
have to choose(just press an enter) the keyboard layout. It's unwanted
interaction while preseeding. If I install Debian with the newt
interactive installer the keymap and the locales are set correctly, so
everything available in the installer to use hungarian layout.
I tried also to set anything else the keymap, e.g. "de" or "cz". The
result was the same: no "console-setup" and "keyboard-configuration"
packages were installed and I got "us" layout.
How should I set the expected keyboard layout with preseeding? Is it a
bug? Is there any solution or workaround?
I found a similar bugreport in the past:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721460
Thanks!