mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
openwisp-monitoring: fix Makefile for 0.2.0 update
Commit 5e69da4ccb upgraded openwisp-monitoring
to version 0.2.0 but missed necessary Makefile adjustments, causing the
package to break in OpenWrt feeds.
This patch updates the Makefile to ensure proper functionality of
openwisp-monitoring with the 0.2.0 release.
Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
This commit is contained in:
committed by
Florian Eckert
parent
67d4fa3b05
commit
886b3fa36d
@@ -30,7 +30,7 @@ define Package/openwisp-monitoring
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/netjson-monitoring
|
define Package/netjson-monitoring
|
||||||
TITLE:=NetJson Monitoring
|
TITLE:=NetJSON Monitoring
|
||||||
CATEGORY:=Administration
|
CATEGORY:=Administration
|
||||||
SECTION:=admin
|
SECTION:=admin
|
||||||
SUBMENU:=openwisp
|
SUBMENU:=openwisp
|
||||||
@@ -50,7 +50,7 @@ define Package/netjson-monitoring/install
|
|||||||
$(1)/usr/sbin \
|
$(1)/usr/sbin \
|
||||||
$(1)/usr/libexec \
|
$(1)/usr/libexec \
|
||||||
$(1)/usr/lib/lua/openwisp-monitoring \
|
$(1)/usr/lib/lua/openwisp-monitoring \
|
||||||
$(1)/etc/openwisp-monitoring
|
$(1)/usr/lib/openwisp-monitoring
|
||||||
|
|
||||||
$(INSTALL_BIN) \
|
$(INSTALL_BIN) \
|
||||||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/sbin/netjson-monitoring.lua \
|
$(PKG_BUILD_DIR)/openwisp-monitoring/files/sbin/netjson-monitoring.lua \
|
||||||
@@ -88,7 +88,7 @@ define Package/netjson-monitoring/install
|
|||||||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/lib/openwisp-monitoring/wifi.lua \
|
$(PKG_BUILD_DIR)/openwisp-monitoring/files/lib/openwisp-monitoring/wifi.lua \
|
||||||
$(1)/usr/lib/lua/openwisp-monitoring/wifi.lua
|
$(1)/usr/lib/lua/openwisp-monitoring/wifi.lua
|
||||||
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/etc/openwisp-monitoring/
|
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/usr/lib/openwisp-monitoring/
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -97,7 +97,8 @@ define Package/openwisp-monitoring/install
|
|||||||
$(1)/usr/sbin \
|
$(1)/usr/sbin \
|
||||||
$(1)/etc/init.d \
|
$(1)/etc/init.d \
|
||||||
$(1)/etc/config \
|
$(1)/etc/config \
|
||||||
$(1)/etc/openwisp-monitoring
|
$(1)/usr/lib/openwisp-monitoring \
|
||||||
|
$(1)/etc/hotplug.d/openwisp
|
||||||
|
|
||||||
$(INSTALL_BIN) \
|
$(INSTALL_BIN) \
|
||||||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.agent \
|
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.agent \
|
||||||
@@ -107,6 +108,10 @@ define Package/openwisp-monitoring/install
|
|||||||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.init \
|
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.init \
|
||||||
$(1)/etc/init.d/openwisp-monitoring
|
$(1)/etc/init.d/openwisp-monitoring
|
||||||
|
|
||||||
|
$(INSTALL_BIN) \
|
||||||
|
$(PKG_BUILD_DIR)/openwisp-monitoring/files/openwisp-monitoring.hotplug \
|
||||||
|
$(1)/etc/hotplug.d/openwisp/openwisp-monitoring
|
||||||
|
|
||||||
$(INSTALL_CONF) \
|
$(INSTALL_CONF) \
|
||||||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.config \
|
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.config \
|
||||||
$(1)/etc/config/openwisp-monitoring
|
$(1)/etc/config/openwisp-monitoring
|
||||||
|
|||||||
Reference in New Issue
Block a user