From 52dd81583b0dbceddc48654e9eb16f100db22614 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 29 Sep 2026 06:01:34 +0000 Subject: [PATCH] netdata: disable systemd units plugin when systemd is not enabled netdata's cmake build unconditionally requires systemd for the 'Systemd units' plugin unless explicitly disabled. Tie ENABLE_PLUGIN_SYSTEMD_UNITS to the same DISTRO_FEATURES systemd check already used for the journal option, so sysvinit builds configure cleanly. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-webserver/recipes-webadmin/netdata/netdata_2.10.4.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_2.10.4.bb b/meta-webserver/recipes-webadmin/netdata/netdata_2.10.4.bb index 709538b1d4..ed4c54fbe4 100644 --- a/meta-webserver/recipes-webadmin/netdata/netdata_2.10.4.bb +++ b/meta-webserver/recipes-webadmin/netdata/netdata_2.10.4.bb @@ -102,6 +102,7 @@ EXTRA_OECMAKE += "-DENABLE_PLUGIN_EBPF=OFF \ -DENABLE_LIBBACKTRACE=OFF \ -DProtobuf_PROTOC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/protoc \ -DBUILD_FOR_PACKAGING=${@bb.utils.contains('DISTRO_FEATURES','systemd','ON','OFF',d)} \ + -DENABLE_PLUGIN_SYSTEMD_UNITS=${@bb.utils.contains('DISTRO_FEATURES','systemd','ON','OFF',d)} \ -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=OFF -DCMAKE_INSTALL_PREFIX='${base_prefix}'" do_compile:append() {