[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/35: system: hurd: Populate services.
From: |
guix-commits |
Subject: |
33/35: system: hurd: Populate services. |
Date: |
Thu, 28 May 2020 13:03:34 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 54cb8034fd60d24a084fd218a9a0d421c9cddc75
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed May 6 10:07:08 2020 +0200
system: hurd: Populate services.
* gnu/system/hurd.scm (%base-services/hurd): Add hurd-console-service,
hurd-getty-services. Also add sylog and loopback, needed for ...
* gnu/system.scm (hurd-default-essential-services): ... add
%shepherd-root-service with dependencies: %boot-service,
%activation-service,
user-processes, root-file-system-service, file-system-service,
pam-root-service.
---
gnu/system.scm | 14 +++++++++++++-
gnu/system/hurd.scm | 13 ++++++++++++-
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/gnu/system.scm b/gnu/system.scm
index 4d23f68..9c4c583 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -608,8 +608,20 @@ bookkeeping."
(list (service system-service-type '())
%boot-service
%activation-service
+ %shepherd-root-service
+ (service user-processes-service-type)
+ (account-service (append (operating-system-accounts os)
+ (operating-system-groups os))
+ (operating-system-skeletons os))
+ (root-file-system-service)
+ (service file-system-service-type '())
+ (service fstab-service-type
+ (filter file-system-needed-for-boot?
+ (operating-system-file-systems os)))
+ (pam-root-service (operating-system-pam-services os))
(hurd-etc-service os)
- (service profile-service-type '())))
+ (service profile-service-type
+ (operating-system-packages os))))
(define* (operating-system-services os)
"Return all the services of OS, including \"essential\" services."
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 472eca8..ac86876 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -57,7 +57,18 @@
net-base inetutils less shepherd which))
(define %base-services/hurd
- '())
+ (list (service hurd-console-service-type
+ (hurd-console-configuration (hurd hurd)))
+ (service hurd-getty-service-type (hurd-getty-configuration
+ (tty "tty1")))
+ (service hurd-getty-service-type (hurd-getty-configuration
+ (tty "tty2")))
+ (service static-networking-service-type
+ (list (static-networking (interface "lo")
+ (ip "127.0.0.1")
+ (requirement '())
+ (provision '(loopback)))))
+ (syslog-service)))
(define %hurd-default-operating-system
(operating-system
- 10/35: bootloader: grub: Do not run grub-install when creating a disk-image., (continued)
- 10/35: bootloader: grub: Do not run grub-install when creating a disk-image., guix-commits, 2020/05/28
- 12/35: image: Add bootloader installation support., guix-commits, 2020/05/28
- 19/35: image: Support extra-directives, add hurd-directives., guix-commits, 2020/05/28
- 20/35: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/05/28
- 22/35: bootloader: Extend `<menu-entry>' for multiboot., guix-commits, 2020/05/28
- 27/35: services: hurd: Add `hurd-etc-service'., guix-commits, 2020/05/28
- 11/35: bootloader: grub: Use inheritance to define grub-minimal-bootloader., guix-commits, 2020/05/28
- 24/35: bootloader: grub: Add support for multiboot., guix-commits, 2020/05/28
- 28/35: system: Add `hurd-activation'., guix-commits, 2020/05/28
- 30/35: gnu: hurd: Create minimal "runsystem" script to invoke "rc"., guix-commits, 2020/05/28
- 33/35: system: hurd: Populate services.,
guix-commits <=
- 34/35: system: hurd: Remove 'cross-hurd-image' hack., guix-commits, 2020/05/28
- 35/35: system: bare-hurd.tmpl: Add openssh client and service., guix-commits, 2020/05/28