3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

system: Fix grub keymap with store in btrfs subvolume.

* gnu/bootloader/grub.scm (grub-configuration-file)
[keyboard-layout-config]: Use normalize-file.
This commit is contained in:
Miguel Ángel Arruga Vivas 2020-10-24 17:48:28 +02:00
parent a07717cc8b
commit c69a1c27ee
No known key found for this signature in database
GPG key ID: 634C6E8979FABEC2

View file

@ -421,11 +421,12 @@ set lang=~a~%" locale))))
(bootloader-configuration-bootloader config)))
(keymap* (and layout
(keyboard-layout-file layout #:grub grub)))
(entry (first all-entries))
(device (menu-entry-device entry))
(mount-point (menu-entry-device-mount-point entry))
(keymap (and keymap*
(if store-directory-prefix
#~(string-append #$store-directory-prefix
#$keymap*)
keymap*))))
(normalize-file keymap* mount-point
store-directory-prefix))))
#~(when #$keymap
(format port "\
insmod keylayouts