diff --git a/feeds/ucentral/unetd/Makefile b/feeds/ucentral/unetd/Makefile index 20b9177d0..4a0b74c85 100644 --- a/feeds/ucentral/unetd/Makefile +++ b/feeds/ucentral/unetd/Makefile @@ -26,7 +26,7 @@ define Package/unetd SECTION:=utils CATEGORY:=Base system TITLE:=Wireguard network configuration service - DEPENDS:=+libubox +libubus +libblobmsg-json +libnl-tiny +TARGET_ipq807x:kmod-wireguard-backport +!TARGET_ipq807x:kmod-wireguard + DEPENDS:=+libubox +libubus +libblobmsg-json +libnl-tiny +TARGET_ipq807x:kmod-wireguard-backport +!TARGET_ipq807x:kmod-wireguard +wireguard-tools endef TARGET_CFLAGS += \ diff --git a/patches/base/0024-wireguard-tools-do-not-select-the-kernel-module.patch b/patches/base/0024-wireguard-tools-do-not-select-the-kernel-module.patch new file mode 100644 index 000000000..c5727ac81 --- /dev/null +++ b/patches/base/0024-wireguard-tools-do-not-select-the-kernel-module.patch @@ -0,0 +1,29 @@ +From fcea0e786c9311e3fc6ff256ba320aaa07b6ae05 Mon Sep 17 00:00:00 2001 +From: John Crispin +Date: Mon, 13 Jun 2022 13:37:17 +0200 +Subject: [PATCH] wireguard-tools: do not select the kernel module + +unetd will select the correct kernel module. + +Signed-off-by: John Crispin +--- + package/network/utils/wireguard-tools/Makefile | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile +index 5f8da147c1..e0df0a6c67 100644 +--- a/package/network/utils/wireguard-tools/Makefile ++++ b/package/network/utils/wireguard-tools/Makefile +@@ -38,8 +38,7 @@ define Package/wireguard-tools + TITLE:=WireGuard userspace control program (wg) + DEPENDS:= \ + +@BUSYBOX_CONFIG_IP \ +- +@BUSYBOX_CONFIG_FEATURE_IP_LINK \ +- +kmod-wireguard ++ +@BUSYBOX_CONFIG_FEATURE_IP_LINK + endef + + define Package/wireguard-tools/description +-- +2.25.1 +