aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-09-19 12:03:32 -0700
committerJohn Crispin <john@phrozen.org>2018-10-11 08:06:43 +0200
commit82d272efed4c9907e8577fa541a2f2c2db713cce (patch)
treec951236838386647556d45231606861f17536d65
parent4572d996a42d86901783f9671026cee8aa4e15fc (diff)
downloadupstream-82d272efed4c9907e8577fa541a2f2c2db713cce.tar.gz
upstream-82d272efed4c9907e8577fa541a2f2c2db713cce.tar.bz2
upstream-82d272efed4c9907e8577fa541a2f2c2db713cce.zip
procd: Install hotplug files as 600
procd runs as root, so it only makes sense that its files are restricted. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--package/system/procd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
index 33cd6b4468..ba82411a4d 100644
--- a/package/system/procd/Makefile
+++ b/package/system/procd/Makefile
@@ -8,10 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=procd
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git
+PKG_SOURCE_URL:=$(PROJECT_GIT)/project/procd.git
PKG_SOURCE_DATE:=2018-08-06
PKG_SOURCE_VERSION:=e29966f04cdf549a01f721f93634672055da8af4
PKG_MIRROR_HASH:=f02b74df25025b0299181f9ed03aa04092c00a047f5976d91305a0e98c132829
@@ -99,7 +99,7 @@ define Package/procd/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{init,procd,askfirst,udevtrigger,upgraded} $(1)/sbin/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libsetlbf.so $(1)/lib
$(INSTALL_BIN) ./files/reload_config $(1)/sbin/
- $(INSTALL_DATA) ./files/hotplug*.json $(1)/etc/
+ $(INSTALL_CONF) ./files/hotplug*.json $(1)/etc/
$(INSTALL_DATA) ./files/procd.sh $(1)/lib/functions/
endef