1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-16 22:25:55 +02:00

bootloader: grub: Refer to the native 'grub-mklayout' and font file.

* gnu/bootloader/grub.scm (eye-candy): Refer to the native FONT-FILE.
(keyboard-layout-file): Refer to the native 'grub-mklayout'.
This commit is contained in:
Ludovic Courtès
2020-05-15 16:01:20 +02:00
parent a7b20226b2
commit 8cf7dd24ab
+2 -2
View File
@@ -176,7 +176,7 @@ system string---e.g., \"x86_64-linux\"."
(if (memq 'gfxterm (bootloader-configuration-terminal-outputs config))
#~(format #f "if loadfont ~a; then
setup_gfxterm
fi~%" #$font-file)
fi~%" #+font-file)
""))
(define (theme-colors type)
@@ -237,7 +237,7 @@ the 'share/X11/xkb/symbols/' directory of 'xkeyboard-config'."
;; 'grub-kbdcomp' passes all its arguments but '-o' to 'ckbcomp'
;; (from the 'console-setup' package).
(invoke #$(file-append grub "/bin/grub-mklayout")
(invoke #+(file-append grub "/bin/grub-mklayout")
"-i" #+(keyboard-layout->console-keymap layout)
"-o" #$output))))