Skip to content

Commit

Permalink
iproute2: add missing libbpf dependency
Browse files Browse the repository at this point in the history
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 coolsnowwolf#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: coolsnowwolf#9491
Signed-off-by: Kien Truong <duckientruong@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
kien-truong authored and misaka36 committed Dec 21, 2022
1 parent 14ab4c1 commit 8041049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/network/utils/iproute2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8041049

Please sign in to comment.