From abf995eaebd6de7f6d13ba4b32c584b19bad610a Mon Sep 17 00:00:00 2001
From: Tim Niemeyer <tim@tn-x.org>
Date: Mon, 16 Jan 2017 21:50:55 +0100
Subject: [PATCH] openwrt: get rid of the default router packages

- removes e.g. dnsmasq, firewall
- needs to add some of the basic packages to fff-base

Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Reviewed-by: Tobias Klaus <tk+ff@meskal.net>
---
 buildscript                   | 3 +++
 src/packages/fff/fff/Makefile | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/buildscript b/buildscript
index 7e56ba70..152c4c39 100755
--- a/buildscript
+++ b/buildscript
@@ -44,6 +44,9 @@ FFF_PKGS="-a"
 
 FEEDS=(OPENWRT ROUTING GLUON FFF)
 
+# Disable dnsmasq and other useless stuff
+export DEVICE_TYPE=
+
 checkout_git(){
     local DIRECTORY=$1
     local REPO_URL=$2
diff --git a/src/packages/fff/fff/Makefile b/src/packages/fff/fff/Makefile
index a5b7df52..b039c2df 100644
--- a/src/packages/fff/fff/Makefile
+++ b/src/packages/fff/fff/Makefile
@@ -14,7 +14,10 @@ define Package/fff-base
     DEFAULT:=y
     TITLE:= Freifunk-Franken Base
     URL:=http://www.freifunk-franken.de
-    DEPENDS:=+micrond \
+    DEPENDS:=+iptables \
+             +ip6tables \
+             +odhcp6c \
+             +micrond \
              +fff-nodewatcher \
              +fff-web \
              +fff-uradvd \
-- 
GitLab