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

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 12 13:21:28 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/885f04b30556edddb9378c5e9eb561334e44ac7a

commit 885f04b30556edddb9378c5e9eb561334e44ac7a
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Wed Aug 3 09:54:06 2022 +0200

    fstools: add uci fstab section to conffiles for package block-mount
    
    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




More information about the lede-commits mailing list