image: Use grub-efi to install the EFI bootloader.

* gnu/build/image.scm (initialize-efi-partition): Rename bootloader-package
argument to grub-efi.
* gnu/system/image.scm (system-disk-image): Adapt accordingly to pass
grub-efi package.
This commit is contained in:
Mathieu Othacehe 2020-05-23 19:10:04 +02:00
parent 7d4ecda63c
commit 05f37c16a3
No known key found for this signature in database
GPG key ID: 8354763531769CA6
2 changed files with 3 additions and 2 deletions

View file

@ -146,10 +146,10 @@ (define* (register-closure prefix closure
(define* (initialize-efi-partition root
#:key
bootloader-package
grub-efi
#:allow-other-keys)
"Install in ROOT directory, an EFI loader using BOOTLOADER-PACKAGE."
(install-efi-loader bootloader-package root))
(install-efi-loader grub-efi root))
(define* (initialize-root-partition root
#:key

View file

@ -234,6 +234,7 @@ (define (partition-image partition)
#:references-graphs '#$graph
#:deduplicate? #f
#:system-directory #$os
#:grub-efi #+grub-efi
#:bootloader-package
#+(bootloader-package bootloader)
#:bootloader-installer