diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-01 14:58:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-27 20:48:44 +0000 |
commit | 007419fc24810715a3485998c3af3c782dd9f788 (patch) | |
tree | 0d1a6c1a726fce91dc2752ed6b526adb531c6dd6 /debian/patches | |
parent | Renaming netdata-data to netdata-web. (diff) | |
download | netdata-007419fc24810715a3485998c3af3c782dd9f788.tar.xz netdata-007419fc24810715a3485998c3af3c782dd9f788.zip |
Moving architecture-independent plugins to interpreter specific netdata-plugins packages to installations with targeted/minimized depends.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0007-debian-use-sh.patch | 21 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0007-debian-use-sh.patch b/debian/patches/0007-debian-use-sh.patch new file mode 100644 index 000000000..2be92d2d3 --- /dev/null +++ b/debian/patches/0007-debian-use-sh.patch @@ -0,0 +1,21 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Fix shebang hack to not depend on bash. + +diff -Naurp netdata.orig/collectors/node.d.plugin/node.d.plugin netdata/collectors/node.d.plugin/node.d.plugin +--- netdata.orig/collectors/node.d.plugin/node.d.plugin ++++ netdata/collectors/node.d.plugin/node.d.plugin +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/sh + ':' //; exec "$(command -v nodejs || command -v node || echo "ERROR node IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" + + // shebang hack from: +diff -Naurp netdata.orig/collectors/node.d.plugin/node.d.plugin.in netdata/collectors/node.d.plugin/node.d.plugin.in +--- netdata.orig/collectors/node.d.plugin/node.d.plugin.in ++++ netdata/collectors/node.d.plugin/node.d.plugin.in +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/sh + ':' //; exec "$(command -v nodejs || command -v node || echo "ERROR node IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" + + // shebang hack from: diff --git a/debian/patches/series b/debian/patches/series index ea4dc7a6d..86855ad02 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,6 +4,7 @@ 0004-debian-use-python3.patch 0005-debian-remove-infographic.patch 0006-debian-remove-contrib-files.patch +0007-debian-use-sh.patch 0011-netdata-support-symlinks.patch 0021-gui-remove-update-button.patch 0022-gui-remove-social-media-buttons.patch |