diff options
| -rw-r--r-- | meta-networking/recipes-protocols/quagga/quagga.inc | 6 | ||||
| -rw-r--r-- | meta-networking/recipes-support/pimd/pimd_2.3.2.bb | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc index 70c32b7a4e..11b7d576a0 100644 --- a/meta-networking/recipes-protocols/quagga/quagga.inc +++ b/meta-networking/recipes-protocols/quagga/quagga.inc | |||
| @@ -40,7 +40,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | |||
| 40 | PACKAGECONFIG[cap] = "--enable-capabilities,--disable-capabilities,libcap" | 40 | PACKAGECONFIG[cap] = "--enable-capabilities,--disable-capabilities,libcap" |
| 41 | PACKAGECONFIG[pam] = "--with-libpam, --without-libpam, libpam" | 41 | PACKAGECONFIG[pam] = "--with-libpam, --without-libpam, libpam" |
| 42 | 42 | ||
| 43 | inherit autotools update-rc.d useradd systemd pkgconfig multilib_header | 43 | inherit autotools update-rc.d useradd systemd pkgconfig multilib_header update-alternatives |
| 44 | 44 | ||
| 45 | CFLAGS += "-fcommon" | 45 | CFLAGS += "-fcommon" |
| 46 | 46 | ||
| @@ -237,3 +237,7 @@ pkg_prerm_${PN}-ripngd () { | |||
| 237 | pkg_prerm_${PN}-isisd () { | 237 | pkg_prerm_${PN}-isisd () { |
| 238 | ${sysconfdir}/init.d/quagga stop isisd | 238 | ${sysconfdir}/init.d/quagga stop isisd |
| 239 | } | 239 | } |
| 240 | |||
| 241 | ALTERNATIVE_${PN} = "pimd" | ||
| 242 | ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd" | ||
| 243 | |||
diff --git a/meta-networking/recipes-support/pimd/pimd_2.3.2.bb b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb index 2faa7cb1ce..df9e85d7de 100644 --- a/meta-networking/recipes-support/pimd/pimd_2.3.2.bb +++ b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb | |||
| @@ -12,9 +12,13 @@ SRC_URI[sha256sum] = "c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054 | |||
| 12 | 12 | ||
| 13 | EXTRA_OECONF_append_libc-musl = " --embedded-libc" | 13 | EXTRA_OECONF_append_libc-musl = " --embedded-libc" |
| 14 | 14 | ||
| 15 | inherit autotools-brokensep | 15 | inherit autotools-brokensep update-alternatives |
| 16 | 16 | ||
| 17 | do_configure() { | 17 | do_configure() { |
| 18 | oe_runconf | 18 | oe_runconf |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | ALTERNATIVE_PRIORITY = "100" | ||
| 22 | |||
| 23 | ALTERNATIVE_${PN} = "pimd" | ||
| 24 | ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd" | ||
