mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-16 18:48:07 +00:00
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 <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 file changed
+1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user