diff options
| -rw-r--r-- | meta-networking/recipes-protocols/frr/frr_9.1.bb | 5 |
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}" | |||
| 74 | SYSTEMD_SERVICE:${PN} = "frr.service" | 74 | SYSTEMD_SERVICE:${PN} = "frr.service" |
| 75 | SYSTEMD_AUTO_ENABLE = "disable" | 75 | SYSTEMD_AUTO_ENABLE = "disable" |
| 76 | 76 | ||
| 77 | inherit update-alternatives | ||
| 78 | |||
| 79 | ALTERNATIVE_PRIORITY = "100" | ||
| 80 | ALTERNATIVE:${PN} = " ietf-interfaces " | ||
| 81 | ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang" | ||
| 77 | do_compile:prepend () { | 82 | do_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 |
