From 2305de5f2e529bb7591f5aac31557aff80ef39c4 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Mon, 14 Aug 2017 11:43:10 +0100 Subject: [PATCH] nlbwmon: preserve protocols mapping across sysupgrade Define package config files to preserve /usr/share/nlbwmon/protocols across sysupgrade Signed-off-by: Kevin Darbyshire-Bryant --- net/nlbwmon/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/nlbwmon/Makefile b/net/nlbwmon/Makefile index 009592ef8..9aa83d155 100644 --- a/net/nlbwmon/Makefile +++ b/net/nlbwmon/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nlbwmon -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/jow-/nlbwmon.git @@ -39,4 +39,9 @@ define Package/nlbwmon/install $(INSTALL_CONF) ./files/nlbwmon.config $(1)/etc/config/nlbwmon endef +define Package/nlbwmon/conffiles +/usr/share/nlbwmon/protocols +endef + + $(eval $(call BuildPackage,nlbwmon))