grub-efi doesn't understand my keyboard-layout

  • Open
  • quality assurance status badge
Details
2 participants
  • Julien Lepiller
  • Ludovic Courtès
Owner
unassigned
Submitted by
Julien Lepiller
Severity
normal
J
J
Julien Lepiller wrote on 8 Jun 2019 15:19
(address . bug-guix@gnu.org)
20190608151900.01c41d2c@tachikoma.lepiller.eu
Hi!

here is a part of my config:

```
(operating-system
(keyboard-layout (keyboard-layout "fr" "bepo"))
(bootloader
(bootloader-configuration
(target "/boot/efi")
(bootloader grub-efi-bootloader)
(keyboard-layout keyboard-layout)))
...)
```

But grub's prompt uses qwerty.
L
L
Ludovic Courtès wrote on 8 Jun 2019 21:45
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 36137@debbugs.gnu.org)
87r28397yt.fsf@gnu.org
Hi,

Julien Lepiller <julien@lepiller.eu> skribis:

Toggle quote (15 lines)
> here is a part of my config:
>
> ```
> (operating-system
> (keyboard-layout (keyboard-layout "fr" "bepo"))
> (bootloader
> (bootloader-configuration
> (target "/boot/efi")
> (bootloader grub-efi-bootloader)
> (keyboard-layout keyboard-layout)))
> ...)
> ```
>
> But grub's prompt uses qwerty.

Could you do:

drv="$(guix gc -R $(guix system build -nd /etc/config.scm) | grep 'grub-keymap.*\.drv$')"
guix build --log-file $drv

and post that log?

Thanks,
Ludo’.
J
J
Julien Lepiller wrote on 8 Jun 2019 22:13
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36137@debbugs.gnu.org)
5622D1E0-FAF0-4641-8FE7-03795562BE0E@lepiller.eu
Le 8 juin 2019 21:45:46 GMT+02:00, "Ludovic Courtès" <ludo@gnu.org> a écrit :
Toggle quote (30 lines)
>Hi,
>
>Julien Lepiller <julien@lepiller.eu> skribis:
>
>> here is a part of my config:
>>
>> ```
>> (operating-system
>> (keyboard-layout (keyboard-layout "fr" "bepo"))
>> (bootloader
>> (bootloader-configuration
>> (target "/boot/efi")
>> (bootloader grub-efi-bootloader)
>> (keyboard-layout keyboard-layout)))
>> ...)
>> ```
>>
>> But grub's prompt uses qwerty.
>
>Could you do:
>
>drv="$(guix gc -R $(guix system build -nd /etc/config.scm) | grep
>'grub-keymap.*\.drv$')"
> guix build --log-file $drv
>
>and post that log?
>
>Thanks,
>Ludo’.

guix gc -R … doesn't show any derivation with grub in its name, and the only one with keymap in the name is console-keymap.fr.drv.
L
L
Ludovic Courtès wrote on 13 Jun 2019 16:58
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 36137@debbugs.gnu.org)
87a7el352m.fsf@gnu.org
Hi,

Julien Lepiller <julien@lepiller.eu> skribis:

Toggle quote (14 lines)
> Le 8 juin 2019 21:45:46 GMT+02:00, "Ludovic Courtès" <ludo@gnu.org> a écrit :
>>Could you do:
>>
>>drv="$(guix gc -R $(guix system build -nd /etc/config.scm) | grep
>>'grub-keymap.*\.drv$')"
>> guix build --log-file $drv
>>
>>and post that log?
>>
>>Thanks,
>>Ludo’.
>
> guix gc -R … doesn't show any derivation with grub in its name, and the only one with keymap in the name is console-keymap.fr.drv.

What if you search like this:

guix gc -R $(guix gc --derivers $(readlink -f /run/current-system)) \
| grep keymap.*drv

The derivation we’re looking for is the one created by
‘keyboard-layout-file’ in (gnu bootloader grub).

Thanks,
Ludo’.
?