aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd/Makefile
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-10-22 15:02:58 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-10-22 15:13:38 +0100
commit0b31713c856a0d8c6fe2961113a9317f7c3659dc (patch)
treecc2e996cc49909ceb10eda757a599e795b2377e0 /package/system/rpcd/Makefile
parent061904d7e339db9cbc966506e1d72b9433bdf353 (diff)
downloadupstream-0b31713c856a0d8c6fe2961113a9317f7c3659dc.tar.gz
upstream-0b31713c856a0d8c6fe2961113a9317f7c3659dc.tar.bz2
upstream-0b31713c856a0d8c6fe2961113a9317f7c3659dc.zip
rpcd: adapt defaults for changed ubus.sock path
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/system/rpcd/Makefile')
-rw-r--r--package/system/rpcd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/system/rpcd/Makefile b/package/system/rpcd/Makefile
index 051e4c5edd..917ad6ff86 100644
--- a/package/system/rpcd/Makefile
+++ b/package/system/rpcd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rpcd
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/rpcd.git
@@ -63,6 +63,8 @@ define Package/rpcd/install
$(INSTALL_DATA) $(PKG_BUILD_DIR)/unauthenticated.json $(1)/usr/share/rpcd/acl.d/unauthenticated.json
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/rpcd.config $(1)/etc/config/rpcd
+ $(INSTALL_DIR) $(1)/etc/uci-defaults
+ $(INSTALL_BIN) ./files/50-migrate-rpcd-ubus-sock.sh $(1)/etc/uci-defaults
endef