Skip to contentSkip to conversation

netdata: added enable/disable cloud config.

PATCH New Jan Vermaete 1 participant 1 message Feb 25, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netdata: added enable/disable cloud config.

From: Kas User <[email protected]>

The json-c dependancy is only needed when cloud is enabled.

Almost no inpact on the size of the package.

Default disabled.

---
 meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb +2 -1
index 2004670f6..3336b43c5 100644
@@ -1,7 +1,7 @@
-HOMEPAGE = "https://github.com/netdata/netdata/"
 SUMMARY = "Real-time performance monitoring"
 DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and troubleshooting. \
                Open-source, free, preconfigured, opinionated, and always real-time."
+HOMEPAGE = "https://github.com/netdata/netdata/"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 
@@ -41,6 +41,7 @@ USERADD_PACKAGES = "${PN}"
 USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata --user-group netdata"
 
 PACKAGECONFIG ??= "https"
+PACKAGECONFIG[cloud] = "--enable-cloud, --disable-cloud, json-c"
 PACKAGECONFIG[compression] = "--enable-compression, --disable-compression, lz4"
 PACKAGECONFIG[https] = "--enable-https, --disable-https, openssl"
 
Signature · 1 line
2.25.1