瀏覽代碼

fstools: add direct dependencies on libblobmsg-json and libjson-c

The OpenWrt buildroot ABI version rebuild tracker does not handle
transient dependencies, therefore add all libraries linked by
block-mount and blockd as direct dependencies to the corresponding
binary package definition.

This ensures that block-mount and blockd is automatically rebuilt and
relinked if any of these libraries has its ABI_VERSION updated in the
future.

Fixes: FS#2373
[jow: similar fix for procd and 98.42% of commit message]
Signed-off-by: Jo-Philip Wich <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>
Petr Štetiar 6 年之前
父節點
當前提交
cbae306815
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/system/fstools/Makefile

+ 2 - 2
package/system/fstools/Makefile

@@ -79,14 +79,14 @@ define Package/block-mount
   SECTION:=base
   SECTION:=base
   CATEGORY:=Base system
   CATEGORY:=Base system
   TITLE:=Block device mounting and checking
   TITLE:=Block device mounting and checking
-  DEPENDS:=+ubox +libubox +libuci
+  DEPENDS:=+ubox +libubox +libuci +libblobmsg-json +libjson-c
 endef
 endef
 
 
 define Package/blockd
 define Package/blockd
   SECTION:=base
   SECTION:=base
   CATEGORY:=Base system
   CATEGORY:=Base system
   TITLE:=Block device automounting
   TITLE:=Block device automounting
-  DEPENDS:=+block-mount +fstools +libubus +kmod-fs-autofs4
+  DEPENDS:=+block-mount +fstools +libubus +kmod-fs-autofs4 +libblobmsg-json +libjson-c
 endef
 endef
 
 
 define Package/fstools/install
 define Package/fstools/install