* 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.

Signed-off-by: Jan Vermaete <[email protected]>
---
 meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb 
b/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb
index fb4d27294..fb643be61 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb
@@ -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"
 
-- 
2.25.1

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

Reply via email to