From f01427e3620131d8e2a03842315f2e38d83a0dcc Mon Sep 17 00:00:00 2001 From: Jan Vermaete Date: Sun, 12 Dec 2021 18:07:40 +0100 Subject: [PATCH] netdata: from 1.22.1 to 1.32.0 * Added openssl so it can compile with default configuration. * ebpf I had to disable. It seems to have issues with cross-compiling. And the libbpf isn't available at all platforms. Tested on raspberrypy4-64 Signed-off-by: Jan Vermaete Signed-off-by: Khem Raj --- .../netdata/{netdata_1.22.1.bb => netdata_1.32.0.bb} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename meta-webserver/recipes-webadmin/netdata/{netdata_1.22.1.bb => netdata_1.32.0.bb} (91%) diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb similarity index 91% rename from meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb rename to meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb index fb643be61f..d06eb87626 100644 --- a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb +++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb @@ -6,7 +6,7 @@ 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] = "f169c8615a6823448c2f1923c87c286d798132ea29d26f366e96d26e0aec3697" +SRC_URI[sha256sum] = "5e066d322f88013cea78eb9bb42bca64599278b9db8d46593777e4258743fefd" # default netdata.conf for netdata configuration SRC_URI += "file://netdata.conf" @@ -18,7 +18,7 @@ UPSTREAM_CHECK_URI = "https://github.com/netdata/netdata/releases" S = "${WORKDIR}/netdata-v${PV}" -DEPENDS += "zlib util-linux libuv" +DEPENDS += "libuv openssl util-linux zlib " inherit pkgconfig autotools-brokensep useradd systemd @@ -36,6 +36,9 @@ SYSTEMD_AUTO_ENABLE:${PN} = "enable" USERADD_PACKAGES = "${PN}" USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata --user-group netdata" +# ebpf doesn't compile (or detect) the cross compilation well +EXTRA_OECONF += "--disable-ebpf" + do_install:append() { #set S UID for plugins chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin