diff options
3 files changed, 53 insertions, 20 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 index d5529a2a68..abea0d66bd 100644 --- a/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch +++ b/meta-webserver/recipes-webadmin/netdata/netdata/0001-Correct-Timeout-issue.patch | |||
| @@ -1,19 +1,21 @@ | |||
| 1 | diff --git a/plugins.d/charts.d.plugin b/plugins.d/charts.d.plugin | 1 | Index: git/plugins.d/charts.d.plugin |
| 2 | index 40c0356..bca57b3 100755 | 2 | =================================================================== |
| 3 | --- a/plugins.d/charts.d.plugin | 3 | --- git.orig/plugins.d/charts.d.plugin |
| 4 | +++ b/plugins.d/charts.d.plugin | 4 | +++ git/plugins.d/charts.d.plugin |
| 5 | @@ -184,10 +184,10 @@ fi | 5 | @@ -246,16 +246,6 @@ else |
| 6 | # timeout command we use, providing a function that | 6 | info "configuration file '$myconfig' not found. Using defaults." |
| 7 | # can emulate the timeout command we need: | 7 | fi |
| 8 | # > timeout SECONDS command ... | 8 | |
| 9 | -# we check for the timeout command, after we load our | ||
| 10 | -# configuration, so that the user may overwrite the | ||
| 11 | -# timeout command we use, providing a function that | ||
| 12 | -# can emulate the timeout command we need: | ||
| 13 | -# > timeout SECONDS command ... | ||
| 9 | -if [ $check_for_timeout -eq 1 ] | 14 | -if [ $check_for_timeout -eq 1 ] |
| 10 | - then | 15 | - then |
| 11 | - require_cmd timeout || exit 1 | 16 | - require_cmd timeout || exit 1 |
| 12 | -fi | 17 | -fi |
| 13 | +#if [ $check_for_timeout -eq 1 ] | 18 | - |
| 14 | +# then | ||
| 15 | +# require_cmd timeout || exit 1 | ||
| 16 | +#fi | ||
| 17 | |||
| 18 | # ----------------------------------------------------------------------------- | 19 | # ----------------------------------------------------------------------------- |
| 19 | # internal checks | 20 | # internal checks |
| 21 | |||
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch b/meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch new file mode 100644 index 0000000000..9a3a4a5519 --- /dev/null +++ b/meta-webserver/recipes-webadmin/netdata/netdata/0001-makefile-Do-not-build-contrib-dir.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From 87f868918a9ae1dcf93e01f3e177d185c19a149a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 13 Jul 2017 14:32:09 -0700 | ||
| 4 | Subject: [PATCH] makefile: Do not build contrib dir | ||
| 5 | |||
| 6 | It contains debian build iteams anyway | ||
| 7 | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | Makefile.am | 1 - | ||
| 11 | 1 file changed, 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/Makefile.am b/Makefile.am | ||
| 14 | index 3ccf82f8..a852e529 100644 | ||
| 15 | --- a/Makefile.am | ||
| 16 | +++ b/Makefile.am | ||
| 17 | @@ -52,7 +52,6 @@ SUBDIRS = \ | ||
| 18 | src \ | ||
| 19 | system \ | ||
| 20 | web \ | ||
| 21 | - contrib \ | ||
| 22 | $(NULL) | ||
| 23 | |||
| 24 | dist_noinst_DATA= \ | ||
| 25 | -- | ||
| 26 | 2.13.2 | ||
| 27 | |||
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb index de140641c5..1003662110 100644 --- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb +++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb | |||
| @@ -1,11 +1,15 @@ | |||
| 1 | HOMEPAGE = "https://github.com/firehol/netdata/" | 1 | HOMEPAGE = "https://github.com/firehol/netdata/" |
| 2 | SUMMARY = "Real-time performance monitoring" | 2 | SUMMARY = "Real-time performance monitoring" |
| 3 | LICENSE = "GPLv3" | 3 | LICENSE = "GPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=747afe070ea9d6c2be0a31353609a35b" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a4a3b650ea3f74269cdfd45a3550e219 \ |
| 5 | file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 6 | " | ||
| 5 | 7 | ||
| 6 | SRC_URI = "git://github.com/firehol/netdata.git;protocol=https" | 8 | SRC_URI = "git://github.com/firehol/netdata.git;protocol=https \ |
| 7 | SRCREV = "36c1304e37094174ea51001903058e65053107ca" | 9 | file://0001-makefile-Do-not-build-contrib-dir.patch \ |
| 8 | PV = "1.0.1+git${SRCPV}" | 10 | " |
| 11 | SRCREV = "f5fa346a188e906a8f2cce3c2cf32a88ce81c666" | ||
| 12 | PV = "1.6.0+git${SRCPV}" | ||
| 9 | 13 | ||
| 10 | # patch to disable timeout because timeout are not available with actual version | 14 | # patch to disable timeout because timeout are not available with actual version |
| 11 | # of core-utils | 15 | # of core-utils |
| @@ -19,7 +23,7 @@ SRC_URI += "file://netdata.service" | |||
| 19 | 23 | ||
| 20 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
| 21 | 25 | ||
| 22 | DEPENDS += "zlib" | 26 | DEPENDS += "zlib util-linux" |
| 23 | 27 | ||
| 24 | inherit pkgconfig autotools useradd systemd | 28 | inherit pkgconfig autotools useradd systemd |
| 25 | 29 | ||
