quagga,pimd: Use update-alternatives for pimd

pimd is provided by both quagga and pimd, prefer quagga over pimd when
both are in image

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-09-01 14:29:21 -07:00
parent 0b15dce76a
commit 7df48b8014
2 changed files with 10 additions and 2 deletions
@@ -12,9 +12,13 @@ SRC_URI[sha256sum] = "c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054
EXTRA_OECONF_append_libc-musl = " --embedded-libc"
inherit autotools-brokensep
inherit autotools-brokensep update-alternatives
do_configure() {
oe_runconf
}
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_${PN} = "pimd"
ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd"