[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/24: system: Support activation service for the Hurd.
From: |
guix-commits |
Subject: |
12/24: system: Support activation service for the Hurd. |
Date: |
Mon, 8 Jun 2020 08:37:28 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit c3fd2df705695a0dc9f393545606360be1ea6104
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun May 3 16:32:09 2020 +0200
system: Support activation service for the Hurd.
* gnu/build/activation.scm (boot-time-system): Use "command-line" for the
Hurd.
* gnu/system.scm (hurd-default-essential-services): Add %boot-service and
%activation-service.
---
gnu/build/activation.scm | 4 +++-
gnu/system.scm | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 30f5e87..b915e6b 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -320,7 +320,9 @@ improvement."
(define (boot-time-system)
"Return the '--system' argument passed on the kernel command line."
- (find-long-option "--system" (linux-command-line)))
+ (find-long-option "--system" (if (string-contains %host-type "linux-gnu")
+ linux-command-line
+ (command-line))))
(define* (activate-current-system
#:optional (system (or (getenv "GUIX_NEW_SYSTEM")
diff --git a/gnu/system.scm b/gnu/system.scm
index a37c5ba..4c23178 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -601,6 +601,8 @@ bookkeeping."
(define (hurd-default-essential-services os)
(list (service system-service-type '())
+ %boot-service
+ %activation-service
(service profile-service-type '())))
(define* (operating-system-services os)
- branch wip-hurd-vm created (now 09ed8bf), guix-commits, 2020/06/08
- 02/24: syscalls: set-thread-name, thread-name: Stub for the Hurd., guix-commits, 2020/06/08
- 01/24: gnu: hurd: Update to upstream Hurd-reserved xattr index., guix-commits, 2020/06/08
- 03/24: linux-boot: Update 'make-hurd-device-nodes'., guix-commits, 2020/06/08
- 04/24: image: Add Hurd support., guix-commits, 2020/06/08
- 09/24: bootloader: grub: Add support for multiboot., guix-commits, 2020/06/08
- 14/24: services: hurd: Populate system profile., guix-commits, 2020/06/08
- 10/24: system: Use 'hurd' package in label., guix-commits, 2020/06/08
- 11/24: system: examples: Add bare-hurd.tmpl., guix-commits, 2020/06/08
- 12/24: system: Support activation service for the Hurd.,
guix-commits <=
- 05/24: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/06/08
- 06/24: system: Add 'hurd' field to <operating-system>., guix-commits, 2020/06/08
- 07/24: bootloader: Extend `<menu-entry>' for multiboot., guix-commits, 2020/06/08
- 16/24: services: Add `hurd-console-service-type'., guix-commits, 2020/06/08
- 17/24: services: Add `hurd-getty-service-type'., guix-commits, 2020/06/08
- 24/24: hurd-boot: Use 'setxattr' instead of invoking settrans., guix-commits, 2020/06/08
- 08/24: system: Add 'multiboot-modules' field to <boot-parameters>., guix-commits, 2020/06/08
- 13/24: services: Support etc-service for the Hurd., guix-commits, 2020/06/08
- 15/24: gnu: hurd: Create minimal "runsystem" script to invoke "rc"., guix-commits, 2020/06/08
- 18/24: system: hurd: Populate services., guix-commits, 2020/06/08