[OpenWrt-Devel] [PATCH 6/6] fstools: Install mount.hotplug and 10-fstab.defaults as 600
Rosen Penev
rosenp at gmail.com
Tue Sep 18 21:32:20 EDT 2018
Both of these are used by programs that run as root and nothing else.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
package/system/fstools/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index 440f187394..2813af0182 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -8,10 +8,10 @@
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
+PKG_SOURCE_URL:=$(PROJECT_GIT)/project/fstools.git
PKG_SOURCE_DATE:=2018-05-23
PKG_SOURCE_VERSION:=dd02dad332958575cc52e60c78ef10ef2b5aaced
PKG_MIRROR_HASH:=31051da29a0fff0b60ab3fc7fe27be281ed298346ff0ac65e3a2976671d2deed
@@ -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/
--
2.17.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list