grub2-kbdcomp calls ckbcomp to convert Xkb keyboard descriptions into an intermediate format before converting the intermediate format into a keyboard layout mapping file that grub2 can use. However, ckbcomp is not available in any Mageia package. I found it in the Debian console-setup package: https://anonscm.debian.org/cgit/d-i/console-setup.git/ All that is needed for grub2-kbdcomp is the ckbcomp script by itself - it's a standalone Perl script.
(In reply to Martin Whitaker from comment #0) > grub2-kbdcomp calls ckbcomp to convert Xkb keyboard descriptions into an > intermediate format before converting the intermediate format into a > keyboard layout mapping file that grub2 can use. However, ckbcomp is not > available in any Mageia package. I found it in the Debian console-setup > package: > > https://anonscm.debian.org/cgit/d-i/console-setup.git/ > > All that is needed for grub2-kbdcomp is the ckbcomp script by itself - it's > a standalone Perl script. So this is all that's needed? https://anonscm.debian.org/cgit/d-i/console-setup.git/tree/Keyboard/ckbcomp I don't find it in CPAN, that doesn't mean it isn't there, though. Assigning to the unregistered maintainer of grub2. CC'ing the Perl maintainers
Assignee: bugsquad => zen25000CC: (none) => marja11, perl
(In reply to Marja van Waes from comment #1) > So this is all that's needed? > https://anonscm.debian.org/cgit/d-i/console-setup.git/tree/Keyboard/ckbcomp That's right (sorry, I should have given the link myself!). I just copied that file into my local bin directory, and grub2-kbcomp then worked. The reason I'm using grub2-kbdcomp is to build keyboard mapping files to go on the ISOs, to make it easier for users with non-US keyboards to edit the boot command line. So it would be good to get this fixed, so others can reproduce my work.
(In reply to Marja van Waes from comment #1) > (In reply to Martin Whitaker from comment #0) > > grub2-kbdcomp calls ckbcomp to convert Xkb keyboard descriptions into an > > intermediate format before converting the intermediate format into a > > keyboard layout mapping file that grub2 can use. However, ckbcomp is not > > available in any Mageia package. I found it in the Debian console-setup > > package: > > > > https://anonscm.debian.org/cgit/d-i/console-setup.git/ > > > > All that is needed for grub2-kbdcomp is the ckbcomp script by itself - it's > > a standalone Perl script. > > So this is all that's needed? > https://anonscm.debian.org/cgit/d-i/console-setup.git/tree/Keyboard/ckbcomp > > I don't find it in CPAN, that doesn't mean it isn't there, though. > > Assigning to the unregistered maintainer of grub2. > > CC'ing the Perl maintainers I've now packaged the console-setup package based on the Fedora RawHide package into Cauldron and it seems to include ckbcomp.
CC: (none) => shlomif
Thanks Shlomi!
So I guess we need grub2-common to require console-setup?
Fixed in svn r1182161 | barjac | 2017-12-11 00:22:15 +0000 (Mon, 11 Dec 2017) | 2 lines - requires console-setup (Mga#22153 - (grub2-kbdcomp requires the ckbcomp command which isnt available in Mageia) So closing as fixed Thanks Shlomi & Martin.
Status: NEW => RESOLVEDResolution: (none) => FIXED