[Buildroot] [git commit branch/2026.02.x] package/frr: install systemd service files

Thomas Perale thomas.perale at mind.be
Fri May 15 14:25:56 UTC 2026


commit: https://gitlab.com/buildroot.org/buildroot/-/commit/440738e2910d462b61594bbe7869482eb3613386
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/2026.02.x

The FRR package currently only installs systemv services files. The
upstream package also provides a systemd service file and a service
template file. Install those when systemd is selected as an init
manager.

Signed-off-by: Alexis Lothoré <alexis.lothore at bootlin.com>
Signed-off-by: Marcus Hoffmann <buildroot at bubu1.eu>
(cherry picked from commit 5af981a6727bb4a5e984c86556ec674e525db218)
Signed-off-by: Thomas Perale <thomas.perale at mind.be>
---
 package/frr/frr.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/frr/frr.mk b/package/frr/frr.mk
index 04282442fb..a9e1810854 100644
--- a/package/frr/frr.mk
+++ b/package/frr/frr.mk
@@ -131,5 +131,12 @@ define FRR_INSTALL_INIT_SYSV
 		$(TARGET_DIR)/etc/init.d/S50frr
 endef
 
+define FRR_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -D -m 644 $(@D)/tools/frr.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/frr.service
+	$(INSTALL) -D -m 644 $(@D)/tools/frr at .service \
+		$(TARGET_DIR)/usr/lib/systemd/system/frr at .service
+endef
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))


More information about the buildroot mailing list