summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-protocols/quagga/quagga.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index 9bdd4d590..2c0817b83 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -62,7 +62,7 @@ EXTRA_OECONF = "--sysconfdir=${sysconfdir}/quagga \
62 --enable-exampledir=${docdir}/quagga/examples/ \ 62 --enable-exampledir=${docdir}/quagga/examples/ \
63 --enable-vtysh \ 63 --enable-vtysh \
64 --enable-isisd \ 64 --enable-isisd \
65 --enable-watchquagga \ 65 ${@base_contains('DISTRO_FEATURES', 'sysvinit', '--enable-watchquagga', '--disable-watchquagga', d)} \
66 --enable-ospf-te \ 66 --enable-ospf-te \
67 --enable-opaque-lsa \ 67 --enable-opaque-lsa \
68 --enable-ipv6 \ 68 --enable-ipv6 \
@@ -135,6 +135,7 @@ do_install () {
135 # Remove sysinit script if sysvinit is not in DISTRO_FEATURES 135 # Remove sysinit script if sysvinit is not in DISTRO_FEATURES
136 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'false', 'true', d)}; then 136 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'false', 'true', d)}; then
137 rm -rf ${D}${sysconfdir}/init.d/ 137 rm -rf ${D}${sysconfdir}/init.d/
138 rm -f ${D}${sysconfdir}/default/watchquagga
138 fi 139 fi
139 140
140 install -d ${D}${systemd_unitdir}/system 141 install -d ${D}${systemd_unitdir}/system
@@ -160,7 +161,7 @@ pkg_postinst_${PN} () {
160# Split into a main package and separate per-protocol packages 161# Split into a main package and separate per-protocol packages
161PACKAGE_BEFORE_PN = "${PN}-ospfd ${PN}-ospf6d ${PN}-babeld ${PN}-bgpd \ 162PACKAGE_BEFORE_PN = "${PN}-ospfd ${PN}-ospf6d ${PN}-babeld ${PN}-bgpd \
162 ${PN}-ripd ${PN}-ripngd ${PN}-isisd \ 163 ${PN}-ripd ${PN}-ripngd ${PN}-isisd \
163 ${PN}-ospfclient ${PN}-watchquagga" 164 ${PN}-ospfclient ${@base_contains('DISTRO_FEATURES', 'sysvinit', '${PN}-watchquagga', '', d)}"
164 165
165RDEPENDS_${PN} += "${PN}-babeld ${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd" 166RDEPENDS_${PN} += "${PN}-babeld ${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd"
166 167