aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-06-25 22:24:45 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-06-26 17:27:40 +0200
commit683016907d5eb5b9b526d21e36de28c16ff6e5cc (patch)
tree03e1b630f66db78647d7d3547ceb4d08e1fbadb2
parentaa5a549c65485ff826267a48795c1564af17f1c9 (diff)
downloadgnu-guix-683016907d5eb5b9b526d21e36de28c16ff6e5cc.tar
gnu-guix-683016907d5eb5b9b526d21e36de28c16ff6e5cc.tar.gz
bootloader: grub-efi: Identify as "GuixSD" instead of "grub".
* gnu/bootloader/grub.scm (install-grub-efi): Pass "--bootloader-id" to grub-install.
-rw-r--r--gnu/bootloader/grub.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 8371888fa5..06856dd58c 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -397,6 +397,7 @@ submenu \"GNU system, old configurations...\" {~%")
;; root partition.
(setenv "GRUB_ENABLE_CRYPTODISK" "y")
(unless (zero? (system* grub-install "--boot-directory" install-dir
+ "--bootloader-id=GuixSD"
"--efi-directory" target-esp))
(error "failed to install GRUB (EFI)")))))