From: Kien Truong Date: Sat, 10 Sep 2022 08:25:35 +0000 (+0700) Subject: iproute2: add missing libbpf dependency X-Git-Tag: v6.0-20240103~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e1030f5488c1af8ba98fedcb0c81d80070fe16c7;p=librecmc%2Flibrecmc.git 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 Signed-off-by: Hauke Mehrtens (cherry picked from commit fa468d4bcdc7e6eb84ea51d9b05368ed87c43aae) --- diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 82c8522a0c..88ba57b122 100644 --- a/package/network/utils/iproute2/Makefile +++ b/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