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

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 13 04:55:21 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/5c69416246967f3cb443195b80a3c56dc1f52413

commit 5c69416246967f3cb443195b80a3c56dc1f52413
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>
    (cherry picked from commit 885f04b30556edddb9378c5e9eb561334e44ac7a)
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/system/fstools/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index 709a825227..38eb385eb6 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