bootloader: grub-efi: Identify as "GuixSD" instead of "grub".

* gnu/bootloader/grub.scm (install-grub-efi): Pass "--bootloader-id" to grub-install.
This commit is contained in:
Marius Bakke 2018-06-25 22:24:45 +02:00
parent aa5a549c65
commit 683016907d
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ submenu \"GNU system, old configurations...\" {~%")
;; root partition. ;; root partition.
(setenv "GRUB_ENABLE_CRYPTODISK" "y") (setenv "GRUB_ENABLE_CRYPTODISK" "y")
(unless (zero? (system* grub-install "--boot-directory" install-dir (unless (zero? (system* grub-install "--boot-directory" install-dir
"--bootloader-id=GuixSD"
"--efi-directory" target-esp)) "--efi-directory" target-esp))
(error "failed to install GRUB (EFI)"))))) (error "failed to install GRUB (EFI)")))))