Skip to contentSkip to conversation

netdata: Using the github.com release + upstream_check.

PATCH New Jan Vermaete 1 participant 1 message Oct 31, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netdata: Using the github.com release + upstream_check.

* Moved to the release archives instead of git.
* Added the UPSTREAM_CHECK_URI.

Note that the latest version of netdata is 1.31.0. But this one doesn't compile on Linux in cross compilation. The next version should have the fix.

---
 meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb +5 -3
index fb4d27294..fb643be61 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 = "git://github.com/netdata/netdata.git;protocol=https"
-SRCREV = "1be9200ba8e11dc81a2101d85a2725137d43f766"
+SRC_URI = "https://github.com/netdata/netdata/releases/download/v${PV}/netdata-v${PV}.tar.gz"
+SRC_URI[sha256sum] = "f169c8615a6823448c2f1923c87c286d798132ea29d26f366e96d26e0aec3697"
 
 # default netdata.conf for netdata configuration
 SRC_URI += "file://netdata.conf"
@@ -14,7 +14,9 @@ SRC_URI += "file://netdata.conf"
 # file for providing systemd service support
 SRC_URI += "file://netdata.service"
 
-S = "${WORKDIR}/git"
+UPSTREAM_CHECK_URI = "https://github.com/netdata/netdata/releases"
+
+S = "${WORKDIR}/netdata-v${PV}"
 
 DEPENDS += "zlib util-linux libuv"
 
Signature · 1 line
2.25.1