aboutsummaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2019-04-22 14:44:22 +0200
committerMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-18 15:33:05 +0200
commiteaf096398349a484bd23fd829755f7dfaf237ab4 (patch)
tree53807d5796f6c72971c49f42a05eeffe30db0e63 /gnu/system.scm
parent9d449b945bbad5b7c66ed874b347f7f0ffd012e1 (diff)
downloadguix-eaf096398349a484bd23fd829755f7dfaf237ab4.tar
guix-eaf096398349a484bd23fd829755f7dfaf237ab4.tar.gz
system: Provide locale information to the bootloader.
* gnu/machine/ssh.scm (roll-back-managed-host): Use locale information from boot-parameters. * gnu/system.scm (operating-system-bootcfg): Provide locale information to the bootloader. * guix/system/script.scm (reinstall-bootloader): Use locale information from boot-parameters.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index e8fe41cc24..a3122eaa65 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1242,6 +1242,7 @@ a list of <menu-entry>, to populate the \"old entries\" menu."
(let* ((file-systems (operating-system-file-systems os))
(root-fs (operating-system-root-file-system os))
(root-device (file-system-device root-fs))
+ (locale (operating-system-locale os))
(params (operating-system-boot-parameters
os root-device
#:system-kernel-arguments? #t))
@@ -1254,6 +1255,7 @@ a list of <menu-entry>, to populate the \"old entries\" menu."
(generate-config-file bootloader-conf (list entry)
#:old-entries old-entries
+ #:locale locale
#:store-directory-prefix
(btrfs-store-subvolume-file-name file-systems))))