diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2024-01-12 10:50:24 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-01-11 19:50:44 -0800 |
commit | 8fce02300e3472532b280a0ef2f8dbcf9078adf7 (patch) | |
tree | 09d1230177238e1d188e351a78b383632f70ce23 /meta-oe/recipes-support/libsmi | |
parent | 4ea46a31b95147aec18118add5349dda70065a2b (diff) | |
download | meta-openembedded-contrib-8fce02300e3472532b280a0ef2f8dbcf9078adf7.tar.gz |
libsmi: use update-alternatives for ietf-interfaces.yang
Error: Transaction test error:
file /usr/share/yang/ietf-interfaces.yang conflicts between attempted installs of libsmi-yang-0.5.0-r0.cortexa57 and frr-9.1-r1.cortexa57
frr also uses the doc 'ietf-interfaces.yang'.
frr has a priority of 100.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsmi')
-rw-r--r-- | meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb index 07e2e29417..5b1d021e36 100644 --- a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb +++ b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb @@ -16,7 +16,10 @@ SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c72 DEPENDS += "bison-native flex-native wget-native gawk-native" -inherit autotools-brokensep +inherit autotools-brokensep update-alternatives +ALTERNATIVE_PRIORITY = "50" +ALTERNATIVE:${PN}-yang = "ietf-interfaces " +ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang" EXTRA_OECONF = "ac_cv_path_SH=/bin/sh" |