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:
parent
a7b20226b2
commit
8cf7dd24ab
@ -176,7 +176,7 @@ system string---e.g., \"x86_64-linux\"."
|
|||||||
(if (memq 'gfxterm (bootloader-configuration-terminal-outputs config))
|
(if (memq 'gfxterm (bootloader-configuration-terminal-outputs config))
|
||||||
#~(format #f "if loadfont ~a; then
|
#~(format #f "if loadfont ~a; then
|
||||||
setup_gfxterm
|
setup_gfxterm
|
||||||
fi~%" #$font-file)
|
fi~%" #+font-file)
|
||||||
""))
|
""))
|
||||||
|
|
||||||
(define (theme-colors type)
|
(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'
|
;; 'grub-kbdcomp' passes all its arguments but '-o' to 'ckbcomp'
|
||||||
;; (from the 'console-setup' package).
|
;; (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)
|
"-i" #+(keyboard-layout->console-keymap layout)
|
||||||
"-o" #$output))))
|
"-o" #$output))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user