Re: #931368: Can't set hungarian keyboard layout with preseeded installer
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 PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
Bug#931368: Can't set hungarian keyboard layout with preseeded installer
Hello, Mayer Károly, le mer. 03 juil. 2019 12:04:00 +0200, a ecrit: > How should I set the expected keyboard layout with preseeding? > d-i keyboard-configuration/xkb-keymap select hu This is the way documented on https://www.debian.org/releases/stable/amd64/apbs04.html#preseed-l10n so it's expected to be working yes :) > 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. > Is it a bug? That part is a bug, yes. There is no reason for console-setup not to be installed, that's what needs to be debugged. Since you didn't use the normal way to report an installation issue, your report includes only very little information. Please at least provide: - Your full preseed file. - The installer syslog, as found in /var/log/installer/syslog Samuel
Bug#931368: Can't set hungarian keyboard layout with preseeded installer
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!