From a2bbc125b3acf52cd5965cf2b881a21ddee57fae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Linus=20L=C3=BCssing?= <linus.luessing@c0d3.blue>
Date: Mon, 18 Feb 2019 18:32:53 +0100
Subject: [PATCH] batctl: remove kmod-batman-adv dependency
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This always pulls in the batman-adv compat 15 kernel module. However,
batctl works just as well with batman-adv-legacy (compat 14).

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
---
 ...tl-remove-kmod-batman-adv-dependency.patch | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 patches/packages/routing/0002-batctl-remove-kmod-batman-adv-dependency.patch

diff --git a/patches/packages/routing/0002-batctl-remove-kmod-batman-adv-dependency.patch b/patches/packages/routing/0002-batctl-remove-kmod-batman-adv-dependency.patch
new file mode 100644
index 000000000..dc3b4b634
--- /dev/null
+++ b/patches/packages/routing/0002-batctl-remove-kmod-batman-adv-dependency.patch
@@ -0,0 +1,22 @@
+From: Linus Lüssing <linus.luessing@c0d3.blue>
+Date: Mon, 18 Feb 2019 18:28:03 +0100
+Subject: batctl: remove kmod-batman-adv dependency
+
+This always pulls in the batman-adv compat 15 kernel module. However,
+batctl works just as well with batman-adv-legacy (compat 14).
+
+Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
+
+diff --git a/batctl/Makefile b/batctl/Makefile
+index 4e67512844d07607852a5447a336dc9f93f5990a..df96ca7325ba3f84bd682da6df32fa4489474113 100644
+--- a/batctl/Makefile
++++ b/batctl/Makefile
+@@ -23,7 +23,7 @@ define Package/batctl
+   URL:=https://www.open-mesh.org/
+   SECTION:=net
+   CATEGORY:=Network
+-  DEPENDS:=+kmod-batman-adv +libnl-tiny +libc +librt
++  DEPENDS:=+libnl-tiny +libc +librt
+   TITLE:=B.A.T.M.A.N. Advanced user space configuration tool batctl
+   MAINTAINER:=Simon Wunderlich <sw@simonwunderlich.de>
+ endef
-- 
GitLab