From: Wang Mingyu <[email protected]>

Error: Transaction test error:
  file /usr/share/yang/ietf-netconf-acm.yang conflicts between attempted 
installs of libsmi-yang-0.5.0-r0.aarch64 and frr-10.0-r0.aarch64
  file /usr/share/yang/ietf-netconf-with-defaults.yang conflicts between 
attempted installs of libsmi-yang-0.5.0-r0.aarch64 and frr-10.0-r0.aarch64
  file /usr/share/yang/ietf-netconf.yang conflicts between attempted installs 
of libsmi-yang-0.5.0-r0.aarch64 and frr-10.0-r0.aarch64

frr also uses the doc 'ietf-netconf-acm.yang ietf-netconf-with-defaults.yang 
ietf-netconf.yang'.
frr has a priority of 100.

Signed-off-by: Wang Mingyu <[email protected]>
---
 meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 73aeb5539..1f7442af0 100644
--- a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
+++ b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
@@ -18,8 +18,11 @@ DEPENDS += "bison-native flex-native wget-native gawk-native"
 
 inherit autotools-brokensep update-alternatives
 ALTERNATIVE_PRIORITY = "50"
-ALTERNATIVE:${PN}-yang = "ietf-interfaces "
+ALTERNATIVE:${PN}-yang = " ietf-interfaces ietf-netconf-acm 
ietf-netconf-with-defaults ietf-netconf"
 ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang"
+ALTERNATIVE_LINK_NAME[ietf-netconf-acm] = 
"${datadir}/yang/ietf-netconf-acm.yang"
+ALTERNATIVE_LINK_NAME[ietf-netconf-with-defaults] = 
"${datadir}/yang/ietf-netconf-with-defaults.yang"
+ALTERNATIVE_LINK_NAME[ietf-netconf] = "${datadir}/yang/ietf-netconf.yang"
 
 EXTRA_OECONF:class-native = "ac_cv_path_SH=/bin/sh"
 EXTRA_OECONF:class-target = "ac_cv_path_SH=/bin/sh 
ac_cv_path_WGET=${bindir}/wget ac_cv_path_AWK=${bindir}/awk"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110887): 
https://lists.openembedded.org/g/openembedded-devel/message/110887
Mute This Topic: https://lists.openembedded.org/mt/106645780/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to