On Sat, Nov 17, 2018 at 10:19:40PM +0100, Michael Biebl wrote: > Am 17.11.18 um 20:58 schrieb Andreas Henriksson: > > Hi Michael, > > > > I'll do my best to fill in details that is how I've understood them > > (both on fedora and debian side). No promises I've got it right. > > I however think your description below isn't correct. > > > > On Sat, Nov 17, 2018 at 08:32:40PM +0100, Michael Biebl wrote: > >> On Fri, 3 Jul 2015 08:25:37 -0400 Tom H <[email protected]> wrote: > >>> Fedora (and other distributions as well as systemd upstream) uses > >>> "/usr/lib/systemd/systemd-vconsole-setup" and "/etc/vconsole.conf" > >>> whereas Debian uses its home-grown solution with systemd and sysvinit. > >>> > >>> So "localectl list-keymaps" cannot work. It could be patched to output > >>> an error; but is this work really worth it? > >> > >> The main issue afaics is that Fedora uses the keymap files from kbd [1]. > > > > AIUI Fedora uses the 'ckbcomp' part of console-setup to build static > > keymaps at build-time. Or atleast that's the impression I got from > > reading I think it was this: > > Ok, thanks for the clarification. > > What I did was run strace on localectl in a Fedora 29 VM which showed > that it accessed the files in /usr/lib/kbd/keymaps/, so I ran > > # rpm -qf /usr/lib/kbd/keymaps/ > kbd-misc-2.0.4-9.fc29.noarch > > # dnf info kbd-misc > Last metadata expiration check: 2 days, 7:10:31 ago on Thu Nov 15 > 15:06:02 2018. > Installed Packages > Name : kbd-misc > Version : 2.0.4 > Release : 9.fc29 > Arch : noarch > Size : 2.4 M > Source : kbd-2.0.4-9.fc29.src.rpm > Repo : @System > From repo : fedora > Summary : Data for kbd package > URL : http://www.kbd-project.org/ > License : GPLv2+ > Description : The kbd-misc package contains data for kbd package - > console fonts, > : keymaps etc. Please note that kbd-misc is not helpful > without kbd.
For the record, the keymaps fedora ships in the kbd package are not from kbd upstream. They are built using ckbcomp (from console-setup) at package build time: https://src.fedoraproject.org/rpms/kbd/blob/master/f/kbd.spec#_147 Regards, Andreas Henriksson _______________________________________________ Pkg-systemd-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
