[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: bootloader: grub: Use inheritance to define grub-minimal-bootload
From: |
guix-commits |
Subject: |
03/09: bootloader: grub: Use inheritance to define grub-minimal-bootloader. |
Date: |
Fri, 29 May 2020 03:12:30 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 7202895e5afa9922ba06eaba295645b08d6fd254
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sat May 23 19:09:46 2020 +0200
bootloader: grub: Use inheritance to define grub-minimal-bootloader.
* gnu/bootloader/grub.scm (grub-minimal-bootloader): Inherit from
grub-bootloader to avoid field redefinition.
---
gnu/bootloader/grub.scm | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 23c7a82..40918ea 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
- branch master updated (7c5c21f -> e3f0155), guix-commits, 2020/05/29
- 02/09: bootloader: grub: Do not run grub-install when creating a disk-image., guix-commits, 2020/05/29
- 05/09: system: image: Correct genimage configuration file indentation., guix-commits, 2020/05/29
- 01/09: bootloader: Add 'disk-image-installer'., guix-commits, 2020/05/29
- 03/09: bootloader: grub: Use inheritance to define grub-minimal-bootloader.,
guix-commits <=
- 04/09: image: Add bootloader installation support., guix-commits, 2020/05/29
- 06/09: image: Use grub-efi to install the EFI bootloader., guix-commits, 2020/05/29
- 08/09: image: Add a post-MBR gap to the default image., guix-commits, 2020/05/29
- 09/09: image: Do not use VM to create disk-images., guix-commits, 2020/05/29
- 07/09: system: image: Fix image-with-os., guix-commits, 2020/05/29