[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: squash! bootloader: Extend `<menu-entry>' for multiboot.
From: |
guix-commits |
Subject: |
01/06: squash! bootloader: Extend `<menu-entry>' for multiboot. |
Date: |
Sat, 30 May 2020 06:15:57 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 51308c6487733142a01bedd9462bf45887119cd6
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat May 30 09:23:06 2020 +0200
squash! bootloader: Extend `<menu-entry>' for multiboot.
---
gnu/bootloader.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm
index c62aca9..d0bcab1 100644
--- a/gnu/bootloader.scm
+++ b/gnu/bootloader.scm
@@ -36,6 +36,7 @@
menu-entry-initrd
menu-entry-device-mount-point
menu-entry-multiboot-kernel
+ menu-entry-multiboot-arguments
menu-entry-multiboot-modules
menu-entry->sexp
@@ -89,6 +90,8 @@
(default #f))
(multiboot-kernel menu-entry-multiboot-kernel
(default #f))
+ (multiboot-arguments menu-entry-multiboot-arguments
+ (default '())) ; list of string-valued gexps
(multiboot-modules menu-entry-multiboot-modules
(default '()))) ; list of multiboot commands, where
; a command is a list of <string>
@@ -106,12 +109,13 @@
(linux-arguments ,linux-arguments)
(initrd ,initrd)))
(($ <menu-entry> label device mount-point #f () #f
- multiboot-kernel multiboot-modules)
+ multiboot-kernel multiboot-arguments multiboot-modules)
`(menu-entry (version 0)
(label ,label)
(device ,device)
(device-mount-point ,mount-point)
(multiboot-kernel ,multiboot-kernel)
+ (multiboot-arguments ,multiboot-arguments)
(multiboot-modules ,multiboot-modules)))))
(define (sexp->menu-entry sexp)
@@ -134,12 +138,14 @@ record."
('label label) ('device device)
('device-mount-point mount-point)
('multiboot-kernel multiboot-kernel)
+ ('multiboot-arguments multiboot-arguments)
('multiboot-modules multiboot-modules) _ ...)
(menu-entry
(label label)
(device device)
(device-mount-point mount-point)
(multiboot-kernel multiboot-kernel)
+ (multiboot-arguments multiboot-arguments)
(multiboot-modules multiboot-modules)))))
- branch wip-hurd-vm updated (7e26981 -> f48ede2), guix-commits, 2020/05/30
- 01/06: squash! bootloader: Extend `<menu-entry>' for multiboot.,
guix-commits <=
- 02/06: squash! system: Add 'multiboot-modules' field to <boot-parameters>., guix-commits, 2020/05/30
- 05/06: squash! gnu: hurd: Create minimal "runsystem" script to invoke "rc"., guix-commits, 2020/05/30
- 06/06: squash! image: Support extra-directives, add hurd-directives., guix-commits, 2020/05/30
- 03/06: squash! bootloader: grub: Add support for multiboot., guix-commits, 2020/05/30
- 04/06: squash! system: Add `hurd-activation'., guix-commits, 2020/05/30