FS#51853 - [mkinitcpio] sd-vconsole hook limited to .inc files.
Attached to Project:
Arch Linux
Opened by Theodor van Nahl (tvn87) - Wednesday, 16 November 2016, 18:56 GMT
Last edited by Toolybird (Toolybird) - Saturday, 05 August 2023, 21:53 GMT
Opened by Theodor van Nahl (tvn87) - Wednesday, 16 November 2016, 18:56 GMT
Last edited by Toolybird (Toolybird) - Saturday, 05 August 2023, 21:53 GMT
|
Details
Description:
The sd-vconsole hook is not installing keyboard layouts configured in */etc/vconsole.conf* unless their korresponding kbd files are named with ".inc" instead of ".map". The corrensponding line of code in the hook can be found in +33 */usr/lib/initcpio/install/sd-vconsole*: > done < <(find /usr/share/kbd/keymaps/ -type f -regex ".*/$1\(\.inc\)?\(\.gz\|\.bz2\)?") And as far as I understand that find command needs to work for every possible entry of ``localectl list-keymaps`` which it currently does not. Further more the filename seems to be required to end with either *.map*, *.map.gz* according to the localectl source code: https://github.com/systemd/systemd/blob/master/src/locale/localectl.c#L275-L308. Hope I did not mix something up or interpreted it wrong. Additional info: * mkinitcpio 21-1 |
This task depends upon
This works just fine:
find /usr/share/kbd/keymaps/ -type f -regex ".*/us.map\(\.inc\)?\(\.gz\|\.bz2\)?"