[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/36: services: hurd: Add dummy syslog.
From: |
guix-commits |
Subject: |
26/36: services: hurd: Add dummy syslog. |
Date: |
Fri, 24 Apr 2020 08:14:12 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 64ace5918d2bec14d55d51cb1c182bba5e2e867a
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.
;;;
- 19/36: system: hurd: Add less, which to %base-packages/hurd., (continued)
- 19/36: system: hurd: Add less, which to %base-packages/hurd., guix-commits, 2020/04/24
- 03/36: gnu: guix: Apply courage for the Hurd., guix-commits, 2020/04/24
- 15/36: gnu: Add dde-sources., guix-commits, 2020/04/24
- 16/36: gnu: Add netdde., guix-commits, 2020/04/24
- 13/36: gnu: hurd: Fix references to /bin/w., guix-commits, 2020/04/24
- 18/36: gnu: Add libtirpc/hurd., guix-commits, 2020/04/24
- 23/36: services: Add hurd-ttys-service-type., guix-commits, 2020/04/24
- 21/36: services: Add hurd., guix-commits, 2020/04/24
- 24/36: services: Add hurd-user-services-service-type., guix-commits, 2020/04/24
- 25/36: services: Add guix-daemon-service as a Hurd service., guix-commits, 2020/04/24
- 26/36: services: hurd: Add dummy syslog.,
guix-commits <=
- 27/36: services: hurd: Add dummy loopback., guix-commits, 2020/04/24
- 22/36: services: Add hurd-console-service-type., guix-commits, 2020/04/24
- 30/36: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/04/24
- 28/36: services: Add openssh-service as a Hurd service., guix-commits, 2020/04/24
- 32/36: system: hurd: Create system profile for guix development., guix-commits, 2020/04/24
- 29/36: system: hurd: Add the Shepherd., guix-commits, 2020/04/24
- 34/36: system: hurd: Add guix., guix-commits, 2020/04/24
- 33/36: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile., guix-commits, 2020/04/24
- 02/36: build: Don't build man pages when cross-compiling., guix-commits, 2020/04/24
- 36/36: HACK use uncompiled .scm for shepherd, guix-commits, 2020/04/24