FS#45444 - [mkinitcpio] sd-vconsole fails to add some console fonts
Attached to Project:
Arch Linux
Opened by Dāvis (davispuh) - Wednesday, 24 June 2015, 01:36 GMT
Last edited by Toolybird (Toolybird) - Thursday, 17 November 2022, 07:27 GMT
Opened by Dāvis (davispuh) - Wednesday, 24 June 2015, 01:36 GMT
Last edited by Toolybird (Toolybird) - Thursday, 17 November 2022, 07:27 GMT
|
Details
Description:
sd-vconsole hook didn't add some font files (like those without font extension or with .cp) Causing systemd-vconsole-setup.service to fail. Additional info: using package version: mkinitcpio 18-2 from log systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: Failed to start Setup Virtual Console. systemd[1]: systemd-vconsole-setup.service: Unit entered failed state. systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'. systemd-vconsole-setup[74]: /usr/bin/setfont failed with error code 66. systemd-vconsole-setup[74]: Cannot open font file iso04.16 Steps to reproduce: 1. Add "FONT=iso04.16" (or some other font, eg. 737) to /etc/vconsole.conf 2. Generate initramfs 3. Reboot and check journal I attached patch which fixes this and should work for all font files from /usr/share/kbd/consolefonts/ |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 17 November 2022, 07:27 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
Thursday, 17 November 2022, 07:27 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
Rather than add even more complexity to this hook, it probably makes more sense to ask upstream to provide a compiler which can spit out a single file containing everything needed to load the font (similar to what we do with loadkeys in the keymap hook).
About upstream providing tool for this of course that would be best but it might take quite a while...