The file adding the news is named gnuboot-december-2023.md instead of gnuboot-0.1-rc1.md as the later is understood as a translation in the '1-rc1' lang. Renaming the file to gnuboot-0.1-rc1.en.md instead makes untitled detect the lang correctly but then it assumes this is a translation and adds a broken link for "English" on the new page. For now the older Libreboot news were kept as this shows the history of the project and since GNU Boot is a continuation of the Libreboot project it makes sense to also keep them. The CSS also needed to be separated from the template because otherwise the generated news page would be incomplete and miss all what comes before the CSS like '<!DOCTYPE html>' for instance. Finally x-reviewed was changed into x-unreviewed because we can't set x-reviewed for the news, so the only way to remove the banner for the individual news is to default to reviewed (and to mark all unreviewed files as such). As for the Untitled patch it is needed to make the news page work. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
1.9 KiB
title | x-unreviewed |
---|---|
GRUB payload | true |
Keymaps are stored in resources/grub/keymap/
You can use the ckbcomp
program to generate a keymap, based on Xorg keymap
files:
ckbcomp fr > frazerty
When you build GRUB from source, you can use the grub-mklayout
program to
create a special keymap file for GRUB. Learn how to build GRUB
When you've built GRUB, using lbmk
(libreboot build system), take your kepmap
file (generated by ckbcomp) and run it through grub-mklayout
like so:
cat frazerty | ./grub/grub-mklayout -o frazerty.gkb
Place the newly created .gkb
file under resources/grub/keymap
in lbmk. When
you build Libreboot, a ROM image with GRUB payload and your newly created
keymap will be available under the bin/
directory.
Learn how to build Libreboot ROM images
Many keymaps exist in the Libreboot build system, but sometimes you must
manually tweak the file created by ckbcomp
, adjusting the scan codes in that
file, before converting to a GRUB keymap file. Therefore, it would be unwise to
automatically add all keymaps in GRUB.
If you've added a keymap to lbmk, and it works, please submit a patch!