diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-06-13 11:43:25 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-12 21:08:07 -0700 |
| commit | 33d4d55b60dae42841639522727fac3dfaf2ad29 (patch) | |
| tree | 737d4c46d183319263cc44a248a88a48ee65e513 /meta-oe | |
| parent | 3b79135ae0191b7211631fc4539a532e14907485 (diff) | |
| download | meta-openembedded-33d4d55b60dae42841639522727fac3dfaf2ad29.tar.gz | |
libsmi: use update-alternatives to solve conflicts with frr
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -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 73aeb55393..1f7442af07 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" | |||
| 18 | 18 | ||
| 19 | inherit autotools-brokensep update-alternatives | 19 | inherit autotools-brokensep update-alternatives |
| 20 | ALTERNATIVE_PRIORITY = "50" | 20 | ALTERNATIVE_PRIORITY = "50" |
| 21 | ALTERNATIVE:${PN}-yang = "ietf-interfaces " | 21 | ALTERNATIVE:${PN}-yang = " ietf-interfaces ietf-netconf-acm ietf-netconf-with-defaults ietf-netconf" |
| 22 | ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang" | 22 | ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang" |
| 23 | ALTERNATIVE_LINK_NAME[ietf-netconf-acm] = "${datadir}/yang/ietf-netconf-acm.yang" | ||
| 24 | ALTERNATIVE_LINK_NAME[ietf-netconf-with-defaults] = "${datadir}/yang/ietf-netconf-with-defaults.yang" | ||
| 25 | ALTERNATIVE_LINK_NAME[ietf-netconf] = "${datadir}/yang/ietf-netconf.yang" | ||
| 23 | 26 | ||
| 24 | EXTRA_OECONF:class-native = "ac_cv_path_SH=/bin/sh" | 27 | EXTRA_OECONF:class-native = "ac_cv_path_SH=/bin/sh" |
| 25 | EXTRA_OECONF:class-target = "ac_cv_path_SH=/bin/sh ac_cv_path_WGET=${bindir}/wget ac_cv_path_AWK=${bindir}/awk" | 28 | EXTRA_OECONF:class-target = "ac_cv_path_SH=/bin/sh ac_cv_path_WGET=${bindir}/wget ac_cv_path_AWK=${bindir}/awk" |
