mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
system: Add 'hurd' field to <operating-system>.
* gnu/system.scm (<operating-system>)[hurd]: New field. * doc/guix.texi (operating-system Reference): Document 'hurd'.
This commit is contained in:
parent
45b2cb439d
commit
2018fb2afe
2 changed files with 18 additions and 3 deletions
|
@ -11484,9 +11484,21 @@ configuration (@pxref{Using the Configuration System}).
|
|||
|
||||
@table @asis
|
||||
@item @code{kernel} (default: @code{linux-libre})
|
||||
The package object of the operating system kernel to use@footnote{Currently
|
||||
only the Linux-libre kernel is supported. In the future, it will be
|
||||
possible to use the GNU@tie{}Hurd.}.
|
||||
The package object of the operating system kernel to
|
||||
use@footnote{Currently only the Linux-libre kernel is fully supported.
|
||||
Using GNU@tie{}mach with the GNU@tie{}Hurd is experimental and only
|
||||
available when building a virtual machine disk image.}.
|
||||
|
||||
@cindex hurd
|
||||
@item @code{hurd} (default: @code{#f})
|
||||
The package object of the hurd to be started by the kernel. When this
|
||||
field is set, produce a GNU/Hurd operating system. In that case,
|
||||
@code{kernel} must also be set to the @code{gnumach} package---the
|
||||
microkernel the Hurd runs on.
|
||||
|
||||
@quotation Warning
|
||||
This feature is experimental and only supported for disk images.
|
||||
@end quotation
|
||||
|
||||
@item @code{kernel-loadable-modules} (default: '())
|
||||
A list of objects (usually packages) to collect loadable kernel modules
|
||||
|
|
|
@ -83,6 +83,7 @@ (define-module (gnu system)
|
|||
operating-system-packages
|
||||
operating-system-host-name
|
||||
operating-system-hosts-file
|
||||
operating-system-hurd
|
||||
operating-system-kernel
|
||||
operating-system-kernel-file
|
||||
operating-system-kernel-arguments
|
||||
|
@ -187,6 +188,8 @@ (define-record-type* <operating-system> operating-system
|
|||
(default '())) ; list of packages
|
||||
(kernel-arguments operating-system-user-kernel-arguments
|
||||
(default %default-kernel-arguments)) ; list of gexps/strings
|
||||
(hurd operating-system-hurd
|
||||
(default #f)) ; package
|
||||
(bootloader operating-system-bootloader) ; <bootloader-configuration>
|
||||
(label operating-system-label ; string
|
||||
(thunked)
|
||||
|
|
Loading…
Reference in a new issue