fstools: add uci fstab section to conffiles for package block-mount
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 3 Aug 2022 07:54:06 +0000 (09:54 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 12 Aug 2022 20:46:51 +0000 (22:46 +0200)
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@dev.tdt.de>
(cherry picked from commit 885f04b30556edddb9378c5e9eb561334e44ac7a)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/system/fstools/Makefile

index 709a8252277f744ab17e4cad49354815d8e980d9..38eb385eb6c3a76375bf923ff4e0ff9ab5cf51a2 100644 (file)
@@ -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