bootloader: grub: Use inheritance to define grub-minimal-bootloader.

* gnu/bootloader/grub.scm (grub-minimal-bootloader): Inherit from
grub-bootloader to avoid field redefinition.
This commit is contained in:
Mathieu Othacehe 2020-05-23 19:09:46 +02:00
parent 7e6a42f215
commit 7202895e5a
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -516,13 +516,10 @@ (define grub-bootloader
(configuration-file "/boot/grub/grub.cfg")
(configuration-file-generator grub-configuration-file)))
(define grub-minimal-bootloader
(define* grub-minimal-bootloader
(bootloader
(name 'grub)
(package grub-minimal)
(installer install-grub)
(configuration-file "/boot/grub/grub.cfg")
(configuration-file-generator grub-configuration-file)))
(inherit grub-bootloader)
(package grub-minimal)))
(define* grub-efi-bootloader
(bootloader