mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user