]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wireguard-tools: use kconfig dependency for ip instead of runtime 22652/head
authorAnand Kumar <anandvtu16158@gmail.com>
Wed, 1 Apr 2026 12:39:32 +0000 (12:39 +0000)
committerRobert Marko <robimarko@gmail.com>
Wed, 1 Apr 2026 12:49:19 +0000 (14:49 +0200)
commitb23e92c3ac8698b1c87fac583abffa343c428d23
treed20b1eb17ceba5ec1f4c08f7d3cfd1052d285064
parentde96f66acfc2bcee95cf85c2d2bf0c76dc03e799
wireguard-tools: use kconfig dependency for ip instead of runtime

The conditional runtime dependency on the ip package was originally
intended to only pull in the ip package when busybox ip is not
configured. However, in APK-based builds the BUSYBOX_CONFIG_*
variables may not be resolvable at package metadata generation
time, causing the ip dependency to be unconditionally baked into
the .apk package. This forces users to install ip-tiny or ip-full
even though busybox already provides the ip command.

Revert to the previous +@BUSYBOX_CONFIG_IP / +@BUSYBOX_CONFIG_FEATURE_IP_LINK
kconfig-level dependencies. These ensure busybox ip support is
enabled at config time without creating a runtime package dependency.
Both options default to y, and wireguard.uc only uses basic
ip link commands that busybox fully supports.

Fixes: openwrt#22637
Signed-off-by: Anand Kumar <anandvtu16158@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22652
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/utils/wireguard-tools/Makefile