guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: bootloader: Add grub-minimal-bootloader.


From: guix-commits
Subject: 07/07: gnu: bootloader: Add grub-minimal-bootloader.
Date: Sun, 29 Mar 2020 09:45:50 -0400 (EDT)

janneke pushed a commit to branch core-updates
in repository guix.

commit 6a790fe349fa4320337d1773bc7b064adbbac40e
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sun Mar 8 21:17:27 2020 +0100

    gnu: bootloader: Add grub-minimal-bootloader.
    
    * gnu/bootloader/grub.scm (grub-minimal-bootloader): New variable.
---
 gnu/bootloader/grub.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 28e6cb1..0b723e8 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2016 Chris Marusich <address@hidden>
 ;;; Copyright © 2017 Leo Famulari <address@hidden>
 ;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
-;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <address@hidden>
+;;; Copyright © 2019, 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;; Copyright © 2020 Maxim Cournoyer <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -54,6 +54,7 @@
             grub-bootloader
             grub-efi-bootloader
             grub-mkrescue-bootloader
+            grub-minimal-bootloader
 
             grub-configuration))
 
@@ -453,6 +454,14 @@ fi~%"))))
    (configuration-file "/boot/grub/grub.cfg")
    (configuration-file-generator grub-configuration-file)))
 
+(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)))
+
 (define* grub-efi-bootloader
   (bootloader
    (inherit grub-bootloader)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]