[Top][All Lists]

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

[bug#41541] [PATCH 2/8] bootloader: Extend `<menu-entry>' for multiboot.

From: Jan Nieuwenhuizen
Subject: [bug#41541] [PATCH 2/8] bootloader: Extend `<menu-entry>' for multiboot.
Date: Sat, 06 Jun 2020 14:00:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Ludovic Courtès writes:

> "Jan (janneke) Nieuwenhuizen" <> skribis:
>> * gnu/bootloader.scm (<menu-entry>)[multiboot-kernel,multiboot-arguments,
>> multiboot-modules]: New fields.
>> [linux,initrd]: Add default value '#f'.
>> (menu-entry->sexp, sexp->menu-entry): Support multiboot entry.
> Could you mention the new fields in guix.texi?

Oops, I missed that.  Added the "default #f" for the linux and initrd
fields, and this

@item @code{multiboot-kernel} (default: @code{#f})
The kernel to boot in Multiboot-mode (@pxref{multiboot,,, grub, GNU GRUB
manual}).  When this field is set, a Multiboot menu-entry is generated.
For example:

(file-append mach "/boot/gnumach")
@end lisp

@item @code{multiboot-arguments} (default: @code{()})
The list of extra command-line arguments for the multiboot-kernel.

@item @code{multiboot-modules} (default: @code{()})
The list of commands for loading Multiboot modules.  For example:

(list (list (file-append hurd "/hurd/ext2fs.static") "ext2fs"
      (list (file-append libc "/lib/") "exec"
@end lisp

> Otherwise LGTM!

Thanks, Janneke

Jan Nieuwenhuizen <> | GNU LilyPond
Freelance IT | Avatar®

reply via email to

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