diff mbox series

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

Message ID 20220803075406.17975-1-fe@dev.tdt.de
State Accepted
Delegated to: Daniel Golle
Headers show
Series fstools: add uci fstab section to conffiles for package block-mount | expand

Commit Message

Florian Eckert Aug. 3, 2022, 7:54 a.m. UTC
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>
---
 package/system/fstools/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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