summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2024-03-29 16:24:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-30 22:25:17 +0000
commit8509edeafea8e62e1b9ffe76b33999447f739b20 (patch)
tree912ca1fb678a637351ea18945c9fe6c52d13265e /meta/recipes-core
parentc74048f5ff2e90b06c7a6d5866db4b94a6f1539d (diff)
downloadopenembedded-core-8509edeafea8e62e1b9ffe76b33999447f739b20.tar.gz
systemd: disable mdns feature in resolved for zeroconf
DISTRO_FEATURE zeroconf installs avahi. If additionally resolved mdns implementation is running they will fight each other: Mar 29 13:31:51 intel-corei7-64 avahi-daemon[752]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. *** Mar 29 13:31:51 intel-corei7-64 avahi-daemon[752]: *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. *** Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd_255.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_255.4.bb b/meta/recipes-core/systemd/systemd_255.4.bb
index b02e44d9c0..8a816c4bc1 100644
--- a/meta/recipes-core/systemd/systemd_255.4.bb
+++ b/meta/recipes-core/systemd/systemd_255.4.bb
@@ -249,6 +249,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
-Dsystem-alloc-gid-min=101 \
-Dsystem-gid-max=999 \
-Dcreate-log-dirs=false \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', '-Ddefault-mdns=no -Ddefault-llmnr=no', '', d)} \
"
# Hardcode target binary paths to avoid using paths from sysroot or worse