From 373c2f7feff1ad99872f3e4a96837fabe99d9290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Sat, 6 Jan 2024 16:07:25 +0100 Subject: [PATCH] Disable unused bird protocols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ...02-bird-disable-unnecessary-protocols.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 feed_patches/routing/0002-bird-disable-unnecessary-protocols.patch diff --git a/feed_patches/routing/0002-bird-disable-unnecessary-protocols.patch b/feed_patches/routing/0002-bird-disable-unnecessary-protocols.patch new file mode 100644 index 00000000..a0482741 --- /dev/null +++ b/feed_patches/routing/0002-bird-disable-unnecessary-protocols.patch @@ -0,0 +1,18 @@ +From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= +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 +