diff options
| author | Jan Vermaete <jan.vermaete@gmail.com> | 2021-12-12 18:07:40 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-12-13 08:09:25 -0800 |
| commit | f01427e3620131d8e2a03842315f2e38d83a0dcc (patch) | |
| tree | 548b6d4264659c1837af5ccd8a0adce9c6b35b0e | |
| parent | e0c3323c928b0567669e49128e4946ef3a178d05 (diff) | |
| download | meta-openembedded-f01427e3620131d8e2a03842315f2e38d83a0dcc.tar.gz | |
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 <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-webserver/recipes-webadmin/netdata/netdata_1.32.0.bb (renamed from meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb) | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.22.1.bb b/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" | |||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24" |
| 7 | 7 | ||
| 8 | SRC_URI = "https://github.com/netdata/netdata/releases/download/v${PV}/netdata-v${PV}.tar.gz" | 8 | SRC_URI = "https://github.com/netdata/netdata/releases/download/v${PV}/netdata-v${PV}.tar.gz" |
| 9 | SRC_URI[sha256sum] = "f169c8615a6823448c2f1923c87c286d798132ea29d26f366e96d26e0aec3697" | 9 | SRC_URI[sha256sum] = "5e066d322f88013cea78eb9bb42bca64599278b9db8d46593777e4258743fefd" |
| 10 | 10 | ||
| 11 | # default netdata.conf for netdata configuration | 11 | # default netdata.conf for netdata configuration |
| 12 | SRC_URI += "file://netdata.conf" | 12 | SRC_URI += "file://netdata.conf" |
| @@ -18,7 +18,7 @@ UPSTREAM_CHECK_URI = "https://github.com/netdata/netdata/releases" | |||
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/netdata-v${PV}" | 19 | S = "${WORKDIR}/netdata-v${PV}" |
| 20 | 20 | ||
| 21 | DEPENDS += "zlib util-linux libuv" | 21 | DEPENDS += "libuv openssl util-linux zlib " |
| 22 | 22 | ||
| 23 | inherit pkgconfig autotools-brokensep useradd systemd | 23 | inherit pkgconfig autotools-brokensep useradd systemd |
| 24 | 24 | ||
| @@ -36,6 +36,9 @@ SYSTEMD_AUTO_ENABLE:${PN} = "enable" | |||
| 36 | USERADD_PACKAGES = "${PN}" | 36 | USERADD_PACKAGES = "${PN}" |
| 37 | USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata --user-group netdata" | 37 | USERADD_PARAM:${PN} = "--system --no-create-home --home-dir ${localstatedir}/run/netdata --user-group netdata" |
| 38 | 38 | ||
| 39 | # ebpf doesn't compile (or detect) the cross compilation well | ||
| 40 | EXTRA_OECONF += "--disable-ebpf" | ||
| 41 | |||
| 39 | do_install:append() { | 42 | do_install:append() { |
| 40 | #set S UID for plugins | 43 | #set S UID for plugins |
| 41 | chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin | 44 | chmod 4755 ${D}${libexecdir}/netdata/plugins.d/apps.plugin |
