quagga: add subpkgs to RRECOMMENDS
PATCH v2 1/2 quagga: add subpkgs to RRECOMMENDS
We need subpkgs to start quagga, so add them to RRECOMMENDS.
Signed-off-by Chong Lu <[email protected]>
--- meta-networking/recipes-protocols/quagga/quagga.inc | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-protocols/quagga/quagga.inc +2 -0
@@ -115,6 +115,8 @@ PACKAGE_BEFORE_PN = "${PN}-ospfd ${PN}-ospf6d ${PN}-babeld ${PN}-bgpd \ ${PN}-ripd ${PN}-ripngd ${PN}-isisd \ ${PN}-ospfclient ${PN}-watchquagga" +RRECOMMENDS_${PN} += "${PN}-babeld ${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd" + FILES_${PN}-ospfd = "${sbindir}/ospfd ${libdir}/libospf.so.*" FILES_${PN}-ospf6d = "${sbindir}/ospf6d" FILES_${PN}-babeld = "${sbindir}/babeld"
Signature · 1 line
1.9.1
PATCH v2 2/2 quagga: add systemd service file
Add systemd service for quagga.
Signed-off-by Chong Lu <[email protected]>
--- .../recipes-protocols/quagga/files/babeld.service | 14 +++++++ .../recipes-protocols/quagga/files/bgpd.service | 14 +++++++ .../recipes-protocols/quagga/files/isisd.service | 14 +++++++ .../recipes-protocols/quagga/files/ospf6d.service | 14 +++++++ .../recipes-protocols/quagga/files/ospfd.service | 14 +++++++ .../recipes-protocols/quagga/files/ripd.service | 14 +++++++ .../recipes-protocols/quagga/files/ripngd.service | 14 +++++++ .../recipes-protocols/quagga/files/zebra.service | 15 +++++++ .../recipes-protocols/quagga/quagga.inc | 49 +++++++++++++++++++++- 9 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-protocols/quagga/files/babeld.service create mode 100644 meta-networking/recipes-protocols/quagga/files/bgpd.service create mode 100644 meta-networking/recipes-protocols/quagga/files/isisd.service create mode 100644 meta-networking/recipes-protocols/quagga/files/ospf6d.service create mode 100644 meta-networking/recipes-protocols/quagga/files/ospfd.service create mode 100644 meta-networking/recipes-protocols/quagga/files/ripd.service create mode 100644 meta-networking/recipes-protocols/quagga/files/ripngd.service create mode 100644 meta-networking/recipes-protocols/quagga/files/zebra.service
meta-networking/recipes-protocols/quagga/files/babeld.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=Babel routing daemon +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/babeld.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/babeld -d $babeld_options -f /etc/quagga/babeld.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/bgpd.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=BGP routing daemon +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/bgpd.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f /etc/quagga/bgpd.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/isisd.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=IS-IS routing daemon +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/isisd.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/isisd -d $isisd_options -f /etc/quagga/isisd.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ospf6d.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=OSPF routing daemon for IPv6 +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/ospf6d.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f /etc/quagga/ospf6d.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ospfd.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=OSPF routing daemon +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/ospfd.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f /etc/quagga/ospfd.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ripd.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=RIP routing daemon +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/ripd.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/ripd -d $ripd_options -f /etc/quagga/ripd.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ripngd.service new file +14 -0
@@ -0,0 +1,14 @@ +i[Unit] +Description=RIP routing daemon for IPv6 +BindTo=zebra.service +After=zebra.service +ConditionPathExists=@SYSCONFDIR@/quagga/ripngd.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStart=@SBINDIR@/ripngd -d $ripngd_options -f /etc/quagga/ripngd.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/zebra.service new file +15 -0
@@ -0,0 +1,15 @@ +[Unit] +Description=GNU Zebra routing manager +Wants=network.target +Before=network.target +ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf + +[Service] +Type=forking +EnvironmentFile=-@SYSCONFDIR@/default/quagga +ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra +ExecStart=@SBINDIR@/zebra -d $zebra_options -f /etc/quagga/zebra.conf +Restart=on-abort + +[Install] +WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/quagga.inc +48 -1
67 lines not on this page · raw message
Signature · 1 line
1.9.1