mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -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>
(cherry picked from commit 5af981a672)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
6e4668c060
commit
440738e291
@@ -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