[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/42: system: hurd: Add hurd-grub-minimal-bootloader.
From: |
guix-commits |
Subject: |
41/42: system: hurd: Add hurd-grub-minimal-bootloader. |
Date: |
Sat, 25 Apr 2020 13:45:11 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 8fec05e830092f3d20180da5929c43dfa8c29c94
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sat Apr 25 14:56:05 2020 +0200
system: hurd: Add hurd-grub-minimal-bootloader.
* gnu/system/hurd.scm (hurd-grub-minimal-bootloader): New public variable.
(%hurd-default-operating-system): Use it.
---
gnu/system/hurd.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 9319958..6178a3b 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -26,6 +26,7 @@
#:use-module (guix packages)
#:use-module (guix profiles)
#:use-module (guix utils)
+ #:use-module (gnu bootloader)
#:use-module (gnu bootloader grub)
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
@@ -56,6 +57,7 @@
#:use-module (gnu system vm)
#:export (cross-hurd-image
hurd-grub-configuration-file
+ hurd-grub-minimal-bootloader
%base-packages/hurd
%base-services/hurd
%hurd-default-operating-system))
@@ -105,7 +107,6 @@
#:key
(system (%current-system))
(old-entries '()))
- (pk "hurd-grub-configuration-file")
(let ((hurd (if (equal? system (%current-system))
hurd
(with-parameters ((%current-target-system system))
@@ -135,10 +136,17 @@ menuentry \"GNU\" {
#+mach #+mach #+hurd
#+libc #+hurd))))))
+(define hurd-grub-minimal-bootloader
+ (bootloader
+ (inherit grub-minimal-bootloader)
+ (configuration-file-generator hurd-grub-configuration-file)))
+
(define %hurd-default-operating-system
(operating-system
(host-name "guixygnu")
- (bootloader #f)
+ (bootloader (bootloader-configuration
+ (bootloader hurd-grub-minimal-bootloader)
+ (target "/dev/vda")))
(kernel hurd)
(initrd-modules '())
(file-systems '())
- 23/42: services: Add guix-daemon-service as a Hurd service., (continued)
- 23/42: services: Add guix-daemon-service as a Hurd service., guix-commits, 2020/04/25
- 29/42: system: hurd: Add openssh service., guix-commits, 2020/04/25
- 30/42: system: hurd: Create system profile for guix development., guix-commits, 2020/04/25
- 28/42: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/04/25
- 31/42: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile., guix-commits, 2020/04/25
- 07/42: gnu: guix: Cross-build fix: override compressors., guix-commits, 2020/04/25
- 25/42: services: hurd: Add dummy loopback., guix-commits, 2020/04/25
- 19/42: services: Add hurd., guix-commits, 2020/04/25
- 27/42: system: hurd: Add the Shepherd., guix-commits, 2020/04/25
- 33/42: system: hurd: Add the guix service., guix-commits, 2020/04/25
- 41/42: system: hurd: Add hurd-grub-minimal-bootloader.,
guix-commits <=
- 16/42: gnu: Add libtirpc/hurd., guix-commits, 2020/04/25
- 34/42: services: hurd: Move hurd-etc-sevcices., guix-commits, 2020/04/25
- 36/42: services: hurd: Move hurd-default-essential-services., guix-commits, 2020/04/25
- 39/42: services: hurd: Use cons as extend method., guix-commits, 2020/04/25
- 38/42: services: hurd: Use hurd-file-systems-service., guix-commits, 2020/04/25
- 32/42: system: hurd: Add guix., guix-commits, 2020/04/25
- 35/42: services: Add hurd-file-systems-service-type., guix-commits, 2020/04/25
- 40/42: system: hurd: Add hurd-grub-configuration-file., guix-commits, 2020/04/25
- 37/42: system: hurd: Export system variables., guix-commits, 2020/04/25
- 42/42: DRAFT system: examples: Add bare-hurd.tmpl., guix-commits, 2020/04/25