Hello, On February 12, 2024 11:29:37 AM GMT+01:00, Josselin Poiret <d...@jpoiret.xyz> wrote: >Hi Felix, > >Felix Lechner <felix.lech...@lease-up.com> writes: > >> I do not suffer from the issue described here but rewrote the bootloader >> code locally for more flexibility (and may be able to contribute >> it). Could we simply move the reference to keyboard-layout-config here >> up by a few lines? [1] > >We could move it up and that would solve it for people not using >encrypted /boot I believe.
IIRC, grub doesn't take the keymap into account unless the `at_keyboard` module is loaded. It is not the case at the moment. Also there seems to be an incompatibility between this module and some laptop keyboards (for example I have a Thinkpad X220 with libreboot/seabios payload and the keyboard stopped working after loading this module). >I believe we don't use grub-mkimage directly for the efi case for now, >which is the command we want to use to be able to include arbitrary >files in the image, hence my comment about the code needing some >refactoring. Even in the BIOS case, as far as I understood the code, the grub image installer function doesn't have access to `bootloader-configuration` data. I think that passing it down to this function would require some changes in the way the bootloader is installed. But I might have overseen something, that I why I was hoping for someone knowledgeable to jump in the discussion :) -- Romain