Skip to contentSkip to conversation

netdata: version bump from 1.32.0 to 1.32.1

PATCH In review Jan Vermaete 2 participants 4 messages Dec 19, 2021 – Dec 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 netdata: version bump from 1.32.0 to 1.32.1

Changelog: https://github.com/netdata/netdata/releases/tag/1.32.1

test: raspberrypi4-64

---
 .../netdata/{netdata_1.32.0.bb => netdata_1.32.1.bb}          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-webadmin/netdata/{netdata_1.32.0.bb => netdata_1.32.1.bb} (93%)
meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb renamed from meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb +2 -2
similarity index 93%
rename from meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb
rename to meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb
index 5b7f43f33..7f99e9d4c 100644
@@ -5,8 +5,8 @@ DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and troublesho
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 
-SRC_URI = "https://github.com/netdata/netdata/releases/download/v${PV}/netdata-v${PV}.tar.gz"
-SRC_URI[sha256sum] = "5e066d322f88013cea78eb9bb42bca64599278b9db8d46593777e4258743fefd"
+SRC_URI = "https://github.com/${PN}/${PN}/releases/download/${PV}/${PN}-v${PV}.tar.gz"
+SRC_URI[sha256sum] = "ac406513e86ad24976a66146702aeac960e43908abc51d70e4a073905275d13e"
 
 # default netdata.conf for netdata configuration
 SRC_URI += "file://netdata.conf"
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 2/3 netdata: fixed some oelint-adv issues in the recipe.

---
 meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb +4 -4
index 7f99e9d4c..d479051c4 100644
@@ -5,7 +5,9 @@ DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and troublesho
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 
-SRC_URI = "https://github.com/${PN}/${PN}/releases/download/${PV}/${PN}-v${PV}.tar.gz"
+DEPENDS += "libuv openssl util-linux zlib "
+
+SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-v${PV}.tar.gz"
 SRC_URI[sha256sum] = "ac406513e86ad24976a66146702aeac960e43908abc51d70e4a073905275d13e"
 
 # default netdata.conf for netdata configuration
@@ -16,9 +18,7 @@ SRC_URI += "file://netdata.service"
 
 UPSTREAM_CHECK_URI = "https://github.com/netdata/netdata/releases"
 
-S = "${WORKDIR}/netdata-v${PV}"
-
-DEPENDS += "libuv openssl util-linux zlib "
+S = "${WORKDIR}/${BPN}-v${PV}"
 
 inherit pkgconfig autotools-brokensep useradd systemd
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 3/3 netdata: do not send anonymous statistics by default.

In reply to Jan Vermaete

Netdata is sending anonymous statics data to Google by default.

Disabling this by default in the recipe by adding the
.opt-out-from-anonymous-statistics file in the netdata config
directory.
@see: https://learn.netdata.cloud/docs/agent/anonymous-statistics#opt-out

---
 .../recipes-webadmin/netdata/netdata_1.32.1.bb           | 9 +++++++++
 1 file changed, 9 insertions(+)
meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb +9 -0
index d479051c4..6824dd725 100644
@@ -20,6 +20,10 @@ UPSTREAM_CHECK_URI = "https://github.com/netdata/netdata/releases"
 
 S = "${WORKDIR}/${BPN}-v${PV}"
 
+PACKAGECONFIG ??= "\
+    anonymous \
+"
+
 inherit pkgconfig autotools-brokensep useradd systemd
 
 LIBS:toolchain-clang:x86 = "-latomic"
@@ -58,6 +62,11 @@ do_install:append() {
     sed -i -e 's,@@libdir,${libexecdir},g' ${D}${sysconfdir}/netdata/netdata.conf
     sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf
 
+    # Stop sending anonymous statistics to Google Analytics
+    if ${@bb.utils.contains('PACKAGECONFIG', 'anonymous', 'true', 'false', d)}; then
+        touch ${D}${sysconfdir}/netdata/.opt-out-from-anonymous-statistics
+    fi
+
     install --group netdata --owner netdata --directory ${D}${localstatedir}/cache/netdata
     install --group netdata --owner netdata --directory ${D}${localstatedir}/lib/netdata
 
Signature · 1 line
2.25.1
#3 lore raw
In reply to Jan Vermaete

it fails to configure

https://errors.yoctoproject.org/Errors/Details/619704/

Quoted 41 lines · Jan Vermaete

Changelog: https://github.com/netdata/netdata/releases/tag/1.32.1

test: raspberrypi4-64

---
 .../netdata/{netdata_1.32.0.bb => netdata_1.32.1.bb}          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-webadmin/netdata/{netdata_1.32.0.bb => netdata_1.32.1.bb} (93%)
meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb renamed from meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb +2 -3
similarity index 93%
rename from meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb
rename to meta-webserver/recipes-webadmin/netdata/netdata_1.32.1.bb
index 5b7f43f33..7f99e9d4c 100644
@@ -5,8 +5,8 @@ DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and troublesho
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 
-SRC_URI = "https://github.com/netdata/netdata/releases/download/v${PV}/netdata-v${PV}.tar.gz"
-SRC_URI[sha256sum] = "5e066d322f88013cea78eb9bb42bca64599278b9db8d46593777e4258743fefd"
+SRC_URI = "https://github.com/${PN}/${PN}/releases/download/${PV}/${PN}-v${PV}.tar.gz"
+SRC_URI[sha256sum] = "ac406513e86ad24976a66146702aeac960e43908abc51d70e4a073905275d13e"
 
 # default netdata.conf for netdata configuration
 SRC_URI += "file://netdata.conf"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94440): https://lists.openembedded.org/g/openembedded-devel/message/94440
Mute This Topic: https://lists.openembedded.org/mt/87833171/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-