aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-09-18 18:32:20 -0700
committerRafał Miłecki <rafal@milecki.pl>2019-01-10 07:15:09 +0100
commite0daa62af69eb3eba9750eccec8d790388878ba8 (patch)
tree9fb6de787bb906b8379bc1ef0ce9ef160c9c5994 /package
parent4c0e15fc16a9eaf57abeb8f65c30b63eab340f5c (diff)
downloadupstream-e0daa62af69eb3eba9750eccec8d790388878ba8.tar.gz
upstream-e0daa62af69eb3eba9750eccec8d790388878ba8.tar.bz2
upstream-e0daa62af69eb3eba9750eccec8d790388878ba8.zip
fstools: Install mount.hotplug and 10-fstab.defaults as 600
Both of these are used by programs that run as root and nothing else. Signed-off-by: Rosen Penev <rosenp@gmail.com> [rmilecki: dropped PKG_SOURCE_URL regression from the original patch] Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 4ad87744fa83e2f75fd4f6e9a46f106aaf7ee2dc)
Diffstat (limited to 'package')
-rw-r--r--package/system/fstools/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index 440f187394..1b5bea47f0 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fstools
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/fstools.git
@@ -108,8 +108,8 @@ define Package/block-mount/install
$(INSTALL_DIR) $(1)/sbin $(1)/lib $(1)/usr/sbin $(1)/etc/hotplug.d/block $(1)/etc/init.d/ $(1)/etc/uci-defaults/
$(INSTALL_BIN) ./files/fstab.init $(1)/etc/init.d/fstab
- $(INSTALL_DATA) ./files/fstab.default $(1)/etc/uci-defaults/10-fstab
- $(INSTALL_DATA) ./files/mount.hotplug $(1)/etc/hotplug.d/block/10-mount
+ $(INSTALL_CONF) ./files/fstab.default $(1)/etc/uci-defaults/10-fstab
+ $(INSTALL_CONF) ./files/mount.hotplug $(1)/etc/hotplug.d/block/10-mount
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblkid-tiny.so $(1)/lib/