Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#18257 - [mkinitcpio] keymap hook should set console font
Attached to Project:
Arch Linux
Opened by Davorin Učakar (phantom) - Tuesday, 09 February 2010, 20:08 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 11 February 2010, 08:38 GMT
Opened by Davorin Učakar (phantom) - Tuesday, 09 February 2010, 20:08 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 11 February 2010, 08:38 GMT
|
DetailsDescription: Keymap hook in last few versions of mkinitcpio doesn't set console font any more.
Additional info: * package version(s) mkinitcpio-0.5.99.4-1 |
This task depends upon
Closed by Thomas Bächler (brain0)
Thursday, 11 February 2010, 08:38 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in the next release.
Thursday, 11 February 2010, 08:38 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in the next release.
> * the console font is not set with the keymap hook; previous versions of
> > mkinitcpio did this.
We actually don't need to set any console font. The sole reason we set
the keymap is so we can type in the emergency shell and that passphrases
we type match exactly those we type when the system is up (including
UTF8 or non-UTF8 characters). I intentionally removed all consolefont
handling from initramfs.
1. If you don't have framebuffer, bright colored chars turn into cyrillic when init scripts set LatArCyrHeb-16 font. (only the chars that were printed before font was set). AFAIK LatArCyrHeb-xx is the only unicode console font, so it is probably commonly used.
2. Font setting is faster as it only has to be set for tty1, when additional ttys spawn the font settings are cloned. No no need for slow for loop in initscripts that sets font 64 times.
3. Fedora has it that way (it sets LatArCyrHeb-16 font from initrd, before anything else is printed to console) or at least so it was last time I used it.
4. What if I want (from some strange reason) to write some Slovene letters when in the initrd prompt?
mkinitcpio-consolefont.patch [for mkinitcpio source]
adds consolefont hook, CONSOLEFONT should be moved from rc.conf
to mkinitcpio.conf to work as intended
mkinitcpio-busybox-setfont.patch [for mkinitcpio-busybox package]
enable setfont command for initrd busybox
Did you test this (especially that busybox-setfont can read the font and that setfont is installed to /usr/sbin)?
[PATCH] Fix tabs/space indents from commit 866db5c5