aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Vermaete <jan.vermaete@gmail.com>2021-10-31 11:13:29 +0100
committerKhem Raj <raj.khem@gmail.com>2021-11-01 05:45:17 -0700
commit2cf01edb690849d72f00ea6bedf9c9cf6e52bb16 (patch)
tree0b5b656afa0fd3ff37baebf2bd097b9a03cdf71d
parentd27bf0b122aa71636faae9819fd78acf74cdba7b (diff)
downloadmeta-openembedded-contrib-2cf01edb690849d72f00ea6bedf9c9cf6e52bb16.tar.gz
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. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb8
1 files 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 fb4d272947..fb643be61f 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"