Your message dated Sun, 26 Sep 2021 20:37:43 +0200
with message-id <20210926203743.c305a906d2ef94bb2e9d7...@mailbox.org>
and subject line Re: #931368: Can't set hungarian keyboard layout with 
preseeded installer
has caused the Debian Bug report #931368,
regarding Can't set hungarian keyboard layout with preseeded installer
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
931368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931368
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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!

--- End Message ---
--- Begin Message ---
Hi,

Using the Debian 11.0 bullseye installer:

with the text installer and setting the preseeding options like this:

d-i debian-installer/locale string hu_HU
d-i keyboard-configuration/xkb-keymap select hu

I get an installer localized in Hungarian with Hungarian keyboard, and also
the installed system is localized in Hungarian, with hungarian keyboard layout.

An /etc/default/keyboard file exists and contains:
XKBMODEL="pc105"
XKBLAYOUT="hu"
XKBVARIANT=""
XKBOPTIONS=""


So I think, your problem has been dealed with in the meantime.
Closing this bug.
Thanks for reporting it!


Holger


-- 
Holger Wansing <hwans...@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply via email to