frr: install correct initscript
PATCH 1/1 frr: install correct initscript
Install frrinit.sh as initscript rather than frr.
Signed-off-by Yi Zhao <[email protected]>
--- meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/frr/frr_8.2.2.bb +1 -1
@@ -95,7 +95,7 @@ do_install:append:class-target () { if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/init.d - install -m 0755 ${B}/tools/frr ${D}${sysconfdir}/init.d + install -m 0755 ${B}/tools/frrinit.sh ${D}${sysconfdir}/init.d/frr install -d ${D}${sysconfdir}/default/volatiles echo "d frr frr 0755 ${localstatedir}/run/frr none" \
Signature · 1 line
2.25.1