Przeglądaj źródła

iproute2: add missing libbpf dependency

This patch adds libbpf to the dependencies of tc-mod-iptables.

The package tc-mod-iptables is missing libbpf as a dependency,
which leads to the build failure described in bug #9491

    LIBBPF_FORCE=on set, but couldn't find a usable libbpf

The build dependency is already automatically added because some other
packages from iproute2 depend on libbpf, but bpftools has multiple build
variants. With multiple build variants none gets build by default and
the build system will not build bpftools before iproute2.

Fixes: #9491
Signed-off-by: Kien Truong <[email protected]>
Signed-off-by: Hauke Mehrtens <[email protected]>
Kien Truong 3 lat temu
rodzic
commit
fa468d4bcd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      package/network/utils/iproute2/Makefile

+ 1 - 1
package/network/utils/iproute2/Makefile

@@ -82,7 +82,7 @@ define Package/tc-mod-iptables
 $(call Package/iproute2/Default)
   TITLE:=Traffic control module - iptables action
   VARIANT:=tcfull
-  DEPENDS:=+libxtables
+  DEPENDS:=+libxtables +libbpf
 endef
 
 define Package/genl