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 <pepe.schlehofer@gmail.com>
This commit is contained in:
parent
1e07e684a8
commit
f47ff3ac24
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue