From f47ff3ac2466cce4f69d31893b5b595a53f835a8 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sun, 5 Aug 2018 17:31:48 +0200 Subject: [PATCH] netdata: create missing folder /etc/netdata/customs-plugins.d Changes: - added folder /etc/netdata/customs-plugins.d which is set in netdata.conf as 2nd plugin directory Signed-off-by: Josef Schlehofer --- admin/netdata/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/netdata/Makefile b/admin/netdata/Makefile index 7bff2a37a..b06add37b 100644 --- a/admin/netdata/Makefile +++ b/admin/netdata/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netdata PKG_VERSION:=1.10.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:= PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILES:=COPYING @@ -50,6 +50,8 @@ define Package/netdata/install mkdir -p $(1)/etc/netdata $(CP) $(PKG_INSTALL_DIR)/etc/netdata $(1)/etc $(CP) ./files/netdata.conf $(1)/etc/netdata + mkdir -p $(1)/etc/netdata/custom-plugins.d + mkdir -p $(1)/usr/share/netdata $(CP) $(PKG_INSTALL_DIR)/usr/share/netdata $(1)/usr/share rm -rf $(1)/usr/share/netdata/web/images @@ -58,12 +60,15 @@ define Package/netdata/install rm $(1)/usr/share/netdata/web/fonts/*.svg rm $(1)/usr/share/netdata/web/fonts/*.ttf rm $(1)/usr/share/netdata/web/fonts/*.woff + mkdir -p $(1)/usr/lib/netdata $(CP) $(PKG_INSTALL_DIR)/usr/lib/netdata $(1)/usr/lib rm $(1)/usr/lib/netdata/python.d/python-modules-installer.sh chmod 4755 $(1)/usr/lib/netdata/plugins.d/apps.plugin + mkdir -p $(1)/etc/init.d $(INSTALL_BIN) ./files/netdata.init $(1)/etc/init.d/netdata + mkdir -p $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdata $(1)/usr/sbin endef