summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-26 22:52:38 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-26 23:40:36 +0200
commita56c4eb8f43ae5555985d8a84308d150c0763c5a (patch)
treea2bd6955e7242235330670ba8442839de2d0af4c /gnu/system.scm
parent6f03b08089167ec863361352ab200830bffeb0b7 (diff)
downloadgnu-guix-a56c4eb8f43ae5555985d8a84308d150c0763c5a.tar
gnu-guix-a56c4eb8f43ae5555985d8a84308d150c0763c5a.tar.gz
services: shepherd: Add workaround for 0.5.0 in containers.
* gnu/services/shepherd.scm (%containerized-shepherd-service): New service. * gnu/system.scm (essential-services): Use it when CONTAINER? is true.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index e4a57475a9..99bc09873d 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -501,7 +501,7 @@ a container or that of a \"bare metal\" system."
;; Add the firmware service, unless we are building for a
;; container.
(if container?
- '()
+ (list %containerized-shepherd-service)
(list %linux-bare-metal-service
(service firmware-service-type
(operating-system-firmware os))))))))