[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/28: system: Add 'hurd' field to <operating-system>.
From: |
guix-commits |
Subject: |
13/28: system: Add 'hurd' field to <operating-system>. |
Date: |
Sat, 30 May 2020 11:20:15 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit dd0a930ea8d096077d8b19f2473f205ab1a842ba
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun May 3 15:09:15 2020 +0200
system: Add 'hurd' field to <operating-system>.
* gnu/system.scm (<operating-system>)[hurd]: New field.
* doc/guix.texi (operating-system Reference): Document 'hurd'.
---
doc/guix.texi | 13 ++++++++++---
gnu/system.scm | 3 +++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index beeda34..5a030ec 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11478,9 +11478,16 @@ 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 in combination with a @code{hurd} is experimental
+and only available when building a vm-image.}.
+
+@cindex hurd
+@item @code{hurd} (default: @code{#f})
+The hurd to be started by the kernel. This is required to build an
+experimental vm-image for the Hurd and requires using @code{kernel}
+GNU@tie{}mach as well as other specific operating system overrides.
@item @code{kernel-loadable-modules} (default: '())
A list of objects (usually packages) to collect loadable kernel modules
diff --git a/gnu/system.scm b/gnu/system.scm
index 79f52ac..310a4aa 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -83,6 +83,7 @@
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 @@
(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)
- 04/28: vm: 'qemu-image' preserves the cross-compilation target of the OS., (continued)
- 04/28: vm: 'qemu-image' preserves the cross-compilation target of the OS., guix-commits, 2020/05/30
- 02/28: vm: 'expression->derivation-in-linux-vm' always returns a native build., guix-commits, 2020/05/30
- 07/28: gnu: guile-static: Disable JIT on ARMv7., guix-commits, 2020/05/30
- 09/28: image: Add Hurd support., guix-commits, 2020/05/30
- 06/28: vm: Shared-store script runs that native QEMU and Bash., guix-commits, 2020/05/30
- 10/28: linux-boot: Update 'make-hurd-device-nodes'., guix-commits, 2020/05/30
- 11/28: image: Support extra-directives, add hurd-directives., guix-commits, 2020/05/30
- 12/28: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/05/30
- 15/28: system: Add 'multiboot-modules' field to <boot-parameters>., guix-commits, 2020/05/30
- 18/28: system: examples: Add bare-hurd.tmpl., guix-commits, 2020/05/30
- 13/28: system: Add 'hurd' field to <operating-system>.,
guix-commits <=
- 17/28: system: Use 'hurd' package in label., guix-commits, 2020/05/30
- 16/28: bootloader: grub: Add support for multiboot., guix-commits, 2020/05/30
- 23/28: services: Add `hurd-console-service-type'., guix-commits, 2020/05/30
- 26/28: system: hurd: Remove 'cross-hurd-image' hack., guix-commits, 2020/05/30
- 21/28: services: hurd: Use activation-service, hurd-etc-service., guix-commits, 2020/05/30
- 27/28: system: bare-hurd.tmpl: Add openssh client and service., guix-commits, 2020/05/30
- 24/28: services: Add `hurd-getty-service-type'., guix-commits, 2020/05/30
- 28/28: syscalls: set-thread-name, thread-name: Stub for the Hurd., guix-commits, 2020/05/30
- 19/28: services: hurd: Add `hurd-etc-service'., guix-commits, 2020/05/30
- 20/28: system: Add `hurd-activation'., guix-commits, 2020/05/30