diff options
3 files changed, 4 insertions, 77 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-timeout-issue.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-timeout-issue.patch deleted file mode 100644 index c4be8270ca..0000000000 --- a/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-timeout-issue.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From ccaf4225239c3092a51cf44f2ab0a2141b8a5fa6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Luca Palano <github@lpzone.it> | ||
3 | Date: Wed, 5 Dec 2018 10:36:52 +0100 | ||
4 | Subject: [PATCH 1/2] Correct of timeout issue | ||
5 | |||
6 | The timeout issue has been disabled | ||
7 | |||
8 | Signed-off-by: Luca Palano <github@lpzone.it> | ||
9 | --- | ||
10 | collectors/charts.d.plugin/charts.d.plugin.in | 9 +++++---- | ||
11 | 1 file changed, 5 insertions(+), 4 deletions(-) | ||
12 | |||
13 | diff --git a/collectors/charts.d.plugin/charts.d.plugin.in b/collectors/charts.d.plugin/charts.d.plugin.in | ||
14 | index 0df6c30c..63ea4506 100755 | ||
15 | --- a/collectors/charts.d.plugin/charts.d.plugin.in | ||
16 | +++ b/collectors/charts.d.plugin/charts.d.plugin.in | ||
17 | @@ -156,7 +156,7 @@ restart_timeout=$((3600 * 4)) | ||
18 | dryrunner=0 | ||
19 | |||
20 | # check for timeout command | ||
21 | -check_for_timeout=1 | ||
22 | +check_for_timeout=0 | ||
23 | |||
24 | # the default enable/disable value for all charts | ||
25 | enable_all_charts="yes" | ||
26 | @@ -251,9 +251,10 @@ time_divisor=$((time_divisor)) | ||
27 | # timeout command we use, providing a function that | ||
28 | # can emulate the timeout command we need: | ||
29 | # > timeout SECONDS command ... | ||
30 | -if [ $check_for_timeout -eq 1 ]; then | ||
31 | - require_cmd timeout || exit 1 | ||
32 | -fi | ||
33 | +#if [ $check_for_timeout -eq 1 ] | ||
34 | +# then | ||
35 | +# require_cmd timeout || exit 1 | ||
36 | +#fi | ||
37 | |||
38 | # ----------------------------------------------------------------------------- | ||
39 | # internal checks | ||
40 | -- | ||
41 | 2.20.1 (Apple Git-117) | ||
42 | |||
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0002-Makefiles-does-not-build-contrib-dir.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0002-Makefiles-does-not-build-contrib-dir.patch deleted file mode 100644 index f0887fed02..0000000000 --- a/meta-webserver/recipes-webadmin/netdata/netdata/0002-Makefiles-does-not-build-contrib-dir.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From 95e1da77de80e38068bb2739faeaad49105700cf Mon Sep 17 00:00:00 2001 | ||
2 | From: Luca Palano <github@lpzone.it> | ||
3 | Date: Mon, 15 Jul 2019 10:16:32 +0200 | ||
4 | Subject: [PATCH 2/2] Makefiles does not build contrib | ||
5 | |||
6 | Signed-off-by: Luca Palano <github@lpzone.it> | ||
7 | --- | ||
8 | Makefile.am | 1 - | ||
9 | 1 file changed, 1 deletion(-) | ||
10 | |||
11 | diff --git a/Makefile.am b/Makefile.am | ||
12 | index bc928bba..ba9edc6b 100644 | ||
13 | --- a/Makefile.am | ||
14 | +++ b/Makefile.am | ||
15 | @@ -54,7 +54,6 @@ dist_noinst_DATA= \ | ||
16 | CHANGELOG.md \ | ||
17 | cppcheck.sh \ | ||
18 | configs.signatures \ | ||
19 | - contrib \ | ||
20 | netdata.cppcheck \ | ||
21 | netdata.spec \ | ||
22 | package.json \ | ||
23 | -- | ||
24 | 2.20.1 (Apple Git-117) | ||
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb index d6a5ce0662..ee4a7c1e3d 100644 --- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb +++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb | |||
@@ -3,15 +3,9 @@ SUMMARY = "Real-time performance monitoring" | |||
3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/firehol/netdata.git;protocol=https \ | 6 | SRC_URI = "git://github.com/firehol/netdata.git;protocol=https" |
7 | file://0002-Makefiles-does-not-build-contrib-dir.patch \ | 7 | SRCREV = "1be9200ba8e11dc81a2101d85a2725137d43f766" |
8 | " | 8 | PV = "1.22.1" |
9 | SRCREV = "588ce5a7b18999dfa66698cd3a2f005f7a3c31cf" | ||
10 | PV = "1.17.0" | ||
11 | |||
12 | # patch to disable timeout because timeout are not available with actual version | ||
13 | # of core-utils | ||
14 | SRC_URI += "file://0001-Correct-timeout-issue.patch" | ||
15 | 9 | ||
16 | # default netdata.conf for netdata configuration | 10 | # default netdata.conf for netdata configuration |
17 | SRC_URI += "file://netdata.conf" | 11 | SRC_URI += "file://netdata.conf" |
@@ -21,7 +15,7 @@ SRC_URI += "file://netdata.service" | |||
21 | 15 | ||
22 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
23 | 17 | ||
24 | DEPENDS += "zlib util-linux" | 18 | DEPENDS += "zlib util-linux libuv" |
25 | 19 | ||
26 | inherit pkgconfig autotools-brokensep useradd systemd | 20 | inherit pkgconfig autotools-brokensep useradd systemd |
27 | 21 | ||
@@ -58,5 +52,4 @@ do_install_append() { | |||
58 | sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf | 52 | sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf |
59 | } | 53 | } |
60 | 54 | ||
61 | FILES_${PN}-dbg += "${libexecdir}/netdata/plugins.d/.debug" | ||
62 | RDEPENDS_${PN} = "bash zlib" | 55 | RDEPENDS_${PN} = "bash zlib" |