[PATCH] fstools: add uci fstab section to conffiles for package block-mount

Florian Eckert fe at dev.tdt.de
Wed Aug 3 00:54:06 PDT 2022


The command 'opkg search /etc/config/fstab' does not return a package
name for this config file. In order to know to which package this config
file belongs to, a 'conffiles' entry was made for this file to package
'block-mount'.

Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
 package/system/fstools/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index b97b79e324..8f39112191 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -75,6 +75,10 @@ define Package/snapshot-tool
   DEPENDS:=+libubox +fstools
 endef
 
+define Package/block-mount/conffiles
+/etc/config/fstab
+endef
+
 define Package/block-mount
   SECTION:=base
   CATEGORY:=Base system
-- 
2.30.2




More information about the openwrt-devel mailing list