From: Jo-Philipp Wich Date: Wed, 18 Dec 2013 15:38:28 +0000 (+0000) Subject: procd: fix service file tracking X-Git-Tag: reboot~8326 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=de5d9827efb64c2078eafb7fe4ba40bc4ac607b0;p=openwrt%2Fstaging%2Fblogic.git procd: fix service file tracking The instance_config_move() function in the procd instance managing code is missing a blobmsg_list_move() call to update the tracked file items with the newly calculated checksums in case of a file change. Without that change, services are always reloaded after the first change to a tracked file regardless of whether there are any subsequent changes or not. Add a missing instance of blobmsg_list_free() as well. Signed-off-by: Jo-Philipp Wich SVN-Revision: 39132 --- diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 932e991052c4..33ba8d1ef80d 100644 --- a/package/system/procd/Makefile +++ b/package/system/procd/Makefile @@ -1,14 +1,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=procd -PKG_VERSION:=2013-12-09 +PKG_VERSION:=2013-12-18 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://nbd.name/luci2/procd.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=b76325945d31280b2ffecf898bfc62aa5f3d22d4 +PKG_SOURCE_VERSION:=2dc572df0e3002263c0a49ebbc329ed1b6c42a01 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz CMAKE_INSTALL:=1