build: shepherd: Check for container support.
authorMathieu Othacehe <othacehe@gnu.org>
Mon, 21 Sep 2020 08:11:17 +0000 (10:11 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Mon, 21 Sep 2020 08:22:12 +0000 (10:22 +0200)
commit6453915cf7729203ef9552c13cb4528c6f4ed122
tree2b342c4a2ad39feddec5d1a344b4c7982430e61c
parentc515bbae0cbb19f7afbc1c732ac725a57bd1964d
build: shepherd: Check for container support.

Fixes: <https://issues.guix.gnu.org/43533>.

* gnu/build/shepherd.scm (fork+exec-command/container): Check if containers
are supported before joining PID namespaces.
gnu/build/shepherd.scm