mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/frr: install systemd service files
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@bootlin.com> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
committed by
Marcus Hoffmann
parent
6cd936b8e7
commit
5af981a672
@@ -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@.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/frr@.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user