[PATCH] wireguard-tools: Add dependency on kmod-wireguard

Ilya Lipnitskiy ilya.lipnitskiy at gmail.com
Wed Feb 17 15:25:08 EST 2021


Prepares for wireguard migration to Linux 5.10. The plan is to make luci
packages depend only on wireguard-tools, then to change the existing
kmod-wireguard to kmod-wireguard-oot and add the in-tree module for
5.10. But for those changes to be made, wireguard-tools needs to depend
on kmod-wireguard to enable luci repo changes.

https://github.com/openwrt/openwrt/pull/3876#discussion_r577901541

Cc: Jason A. Donenfeld <Jason at zx2c4.com>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>
---
 package/network/utils/wireguard-tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile
index 3cdbaa785c..3194d3d2a7 100644
--- a/package/network/utils/wireguard-tools/Makefile
+++ b/package/network/utils/wireguard-tools/Makefile
@@ -36,7 +36,7 @@ define Package/wireguard-tools
   URL:=https://www.wireguard.com
   MAINTAINER:=Jason A. Donenfeld <Jason at zx2c4.com>
   TITLE:=WireGuard userspace control program (wg)
-  DEPENDS:=+ at BUSYBOX_CONFIG_IP + at BUSYBOX_CONFIG_FEATURE_IP_LINK
+  DEPENDS:=+ at BUSYBOX_CONFIG_IP + at BUSYBOX_CONFIG_FEATURE_IP_LINK +kmod-wireguard
 endef
 
 define Package/wireguard-tools/description
-- 
2.30.1




More information about the openwrt-devel mailing list