[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/48: services: hurd: Add dummy syslog.
From: |
guix-commits |
Subject: |
20/48: services: hurd: Add dummy syslog. |
Date: |
Sun, 19 Apr 2020 10:22:12 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit b7d4cc0d44294e5dade58fb223c693797d67f4e6
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Mon Apr 13 22:44:45 2020 +0200
services: hurd: Add dummy syslog.
* gnu/services/hurd.scm (<syslog-configuration>): New variable.
(syslog-shepherd-service): New function.
(hurd-service->shepherd-service): Use them to add entry for syslog.
---
gnu/services/hurd.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/services/hurd.scm b/gnu/services/hurd.scm
index 3b28582..53fd492 100644
--- a/gnu/services/hurd.scm
+++ b/gnu/services/hurd.scm
@@ -47,6 +47,7 @@
(($ <guix-configuration>) (guix-shepherd-service config))
(($ <hurd-console-configuration>) (hurd-console-shepherd-service config))
(($ <hurd-ttys-configuration>) (hurd-ttys-shepherd-service config))
+ (($ <syslog-configuration>) (syslog-shepherd-service config))
(('user-processes) (hurd-user-processes-shepherd-service #f))
(_ '()))))
@@ -63,6 +64,19 @@
;;;
+;;; Bridge for syslog.
+;;;
+
+(define <syslog-configuration>
+ (@@ (gnu services base) <syslog-configuration>))
+
+(define (syslog-shepherd-service config)
+ (append-map (cut <> config)
+ (map service-extension-compute
+ (service-type-extensions syslog-service-type))))
+
+
+;;;
;;; Dummy hurd-user-processes service, required for guix-daemon.
;;;
- 15/48: services: Add hurd., (continued)
- 15/48: services: Add hurd., guix-commits, 2020/04/19
- 14/48: gnu: Add libtirpc/hurd., guix-commits, 2020/04/19
- 28/48: system: hurd: Create system profile for guix development., guix-commits, 2020/04/19
- 21/48: services: hurd: Add dummy loopback., guix-commits, 2020/04/19
- 25/48: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/04/19
- 19/48: services: Add guix-daemon-service as a Hurd service., guix-commits, 2020/04/19
- 29/48: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile., guix-commits, 2020/04/19
- 30/48: guile: Disable web-server test on the Hurd., guix-commits, 2020/04/19
- 31/48: gnu: tar: Disable troublesome tests on the Hurd., guix-commits, 2020/04/19
- 32/48: gnu: tls: Remove datefudge and disable tests on the Hurd., guix-commits, 2020/04/19
- 20/48: services: hurd: Add dummy syslog.,
guix-commits <=
- 35/48: HACK gnu: python: Disable tests on the Hurd., guix-commits, 2020/04/19
- 36/48: system: hurd: Add guix., guix-commits, 2020/04/19
- 39/48: gnu: guix: Fix cross-compilation., guix-commits, 2020/04/19
- 38/48: gnu: guix: Use gnutls-3.6.13 when cross-compiling., guix-commits, 2020/04/19
- 42/48: gnu: guix: Apply courage for the Hurd., guix-commits, 2020/04/19
- 43/48: gnu: guix: Add dependency on `hurd' when building for the Hurd., guix-commits, 2020/04/19
- 07/48: gnu: hurd: Build DDE libraries., guix-commits, 2020/04/19
- 26/48: system: hurd: Add openssh service., guix-commits, 2020/04/19
- 37/48: gnu: coreutils: Mark three more tests XFAIL on the Hurd., guix-commits, 2020/04/19
- 34/48: gnu: tcl: Disable troublesome test on the Hurd., guix-commits, 2020/04/19