[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/44: services: hurd: Add dummy syslog.
From: |
guix-commits |
Subject: |
20/44: services: hurd: Add dummy syslog. |
Date: |
Tue, 21 Apr 2020 15:48:23 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit ffb24435e63b14ab98a01624829ae53a28a18d91
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.
;;;
- 18/44: services: Add hurd-user-services-service-type., (continued)
- 18/44: services: Add hurd-user-services-service-type., guix-commits, 2020/04/21
- 22/44: services: Add openssh-service as a Hurd service., guix-commits, 2020/04/21
- 21/44: services: hurd: Add dummy loopback., guix-commits, 2020/04/21
- 19/44: services: Add guix-daemon-service as a Hurd service., guix-commits, 2020/04/21
- 27/44: system: hurd: Create system profile for guix development., guix-commits, 2020/04/21
- 25/44: system: gnu: Populate "/etc" from "/boot/activation"., guix-commits, 2020/04/21
- 30/44: gnu: guix: Fix cross-compilation., guix-commits, 2020/04/21
- 34/44: gnu: guix: Add dependency on `hurd' when building for the Hurd., guix-commits, 2020/04/21
- 07/44: gnu: hurd: Fix references to /bin/w., guix-commits, 2020/04/21
- 17/44: services: Add hurd-ttys-service-type., guix-commits, 2020/04/21
- 20/44: services: hurd: Add dummy syslog.,
guix-commits <=
- 26/44: system: hurd: Add openssh service., guix-commits, 2020/04/21
- 31/44: gnu: guix: Cross-build fixup for wrap-program., guix-commits, 2020/04/21
- 13/44: system: hurd: Add less, which to %base-packages/hurd., guix-commits, 2020/04/21
- 12/44: gnu: Add libtirpc/hurd., guix-commits, 2020/04/21
- 08/44: gnu: hurd: Use default Qemu guest ip: 10.0.2.15., guix-commits, 2020/04/21
- 28/44: system: gnu: Add %bootstrap-{gcc, binutils, glibc} for devel profile., guix-commits, 2020/04/21
- 24/44: HACK use uncompiled .scm for shepherd, guix-commits, 2020/04/21
- 23/44: system: hurd: Add the Shepherd., guix-commits, 2020/04/21
- 33/44: gnu: guix: Apply courage for the Hurd., guix-commits, 2020/04/21
- 35/44: system: hurd: Add guix., guix-commits, 2020/04/21