mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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:
parent
7d4ecda63c
commit
05f37c16a3
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue