diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-20 12:19:14 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-24 23:06:12 +0100 |
commit | ae7a316b9da0d1a50c5abdc531c68c8e98e561c9 (patch) | |
tree | c9d07ee413f3b9e2896931e4c49daf9acadf37fc /tests/grafts.scm | |
parent | 48e595b7a8f8f83ba00386e4dccf1ef809474226 (diff) | |
download | guix-patches-ae7a316b9da0d1a50c5abdc531c68c8e98e561c9.tar guix-patches-ae7a316b9da0d1a50c5abdc531c68c8e98e561c9.tar.gz |
system: Initialize console keyboard layout in the initrd.
Partially fixes <https://bugs.gnu.org/25453>.
* gnu/system.scm (<operating-system>)[keyboard-layout]: New field.
(operating-system-initrd-file): Pass #:keyboard-layout to MAKE-INITRD.
* gnu/system/linux-initrd.scm (raw-initrd): Add #:keyboard-layout.
Pass #:keymap-file to 'boot-system'.
(base-initrd): Add #:keyboard-layout.
[helper-packages]: Add LOADKEYS-STATIC when KEYBOARD-LAYOUT is true.
Pass #:keyboard-layout to 'raw-initrd'.
* gnu/build/linux-boot.scm (boot-system): Add #:keymap-file and honor
it.
* doc/guix.texi (operating-system Reference): Document the
'keyboard-layout' field.
(Initial RAM Disk): Update 'raw-initrd' and 'base-initrd' documentation.
Diffstat (limited to 'tests/grafts.scm')
0 files changed, 0 insertions, 0 deletions