summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-05-23 19:09:46 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-05-29 08:40:03 +0200
commit7202895e5afa9922ba06eaba295645b08d6fd254 (patch)
tree5531cbe8266f17b9a969395d6efcf00e4028697b /gnu
parent7e6a42f215726b6ea5b1a2a8b8bc80481f7ebcd9 (diff)
downloadguix-7202895e5afa9922ba06eaba295645b08d6fd254.tar.gz
bootloader: grub: Use inheritance to define grub-minimal-bootloader.
* gnu/bootloader/grub.scm (grub-minimal-bootloader): Inherit from
grub-bootloader to avoid field redefinition.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/bootloader/grub.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 23c7a82084..40918ea307 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -516,13 +516,10 @@ fi~%"))))
    (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