You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
408 B
14 lines
408 B
https://bugs.gentoo.org/914076
|
|
https://github.com/moby/moby/issues/47770
|
|
--- a/hack/make.sh
|
|
+++ b/hack/make.sh
|
|
@@ -90,7 +90,7 @@ add_buildtag() {
|
|
[[ " $DOCKER_BUILDTAGS" == *" $1_"* ]] || DOCKER_BUILDTAGS+=" $1_$2"
|
|
}
|
|
|
|
-if ${PKG_CONFIG} 'libsystemd' 2> /dev/null; then
|
|
+if [[ -n "$SYSTEMD" ]] && [[ "$SYSTEMD" == 1 ]] && ${PKG_CONFIG} 'libsystemd' 2> /dev/null; then
|
|
DOCKER_BUILDTAGS+=" journald"
|
|
fi
|
|
|