Disable unused bird protocols

On a typical Freifunk router, only a small subset of bird protocols
is in use. Disable unused bird protocols to save disk space.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Fabian Bläse 2024-01-06 16:07:25 +01:00
parent 5d08552e7a
commit 373c2f7fef
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= <fabian@blaese.de>
Date: Sat, 6 Jan 2024 13:24:58 +0100
Subject: [PATCH] bird: disable unnecessary protocols
diff --git a/bird2/Makefile b/bird2/Makefile
index 9fd0031..dc827b0 100644
--- a/bird2/Makefile
+++ b/bird2/Makefile
@@ -97,7 +97,7 @@ protocols, telling BIRD to show various information, telling it to show
a routing table filtered by a filter, or asking BIRD to reconfigure.
endef
-CONFIGURE_ARGS += --disable-libssh
+CONFIGURE_ARGS += --disable-libssh --with-protocols="babel pipe radv static"
define Package/bird2/conffiles
/etc/bird.conf