summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-protocols/frr/frr_9.1.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/frr/frr_9.1.bb b/meta-networking/recipes-protocols/frr/frr_9.1.bb
index 9db6710d9c..5cc19d09d0 100644
--- a/meta-networking/recipes-protocols/frr/frr_9.1.bb
+++ b/meta-networking/recipes-protocols/frr/frr_9.1.bb
@@ -74,6 +74,11 @@ SYSTEMD_PACKAGES = "${PN}"
74SYSTEMD_SERVICE:${PN} = "frr.service" 74SYSTEMD_SERVICE:${PN} = "frr.service"
75SYSTEMD_AUTO_ENABLE = "disable" 75SYSTEMD_AUTO_ENABLE = "disable"
76 76
77inherit update-alternatives
78
79ALTERNATIVE_PRIORITY = "100"
80ALTERNATIVE:${PN} = " ietf-interfaces "
81ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang"
77do_compile:prepend () { 82do_compile:prepend () {
78 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' \ 83 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' \
79 -e 's#${RECIPE_SYSROOT}##g' ${S}/lib/version.h 84 -e 's#${RECIPE_SYSROOT}##g' ${S}/lib/version.h