From 1a963389eab9f71bed2a209fe3a0c4a9d1e7a41e Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Fri, 15 Dec 2017 17:12:24 -0500 Subject: libibverbs: don't do battle when meta-dpdk is in play The meta-dpdk layer has its own special version of libibverbs which will conflict with our version: Error: Transaction check error: file /usr/lib64/libibverbs.so.1.0.0 conflicts between attempted installs of \ libibverbs1-1.1.7-r0.corei7_64 and dpdk-dev-libibverbs-1.2.1+3.4+2.0.0.0-r0.corei7_64 Ensure only our version or the meta-dpdk version is in use. With current layer priorities and such this should result in the meta-dpdk version being used, which is fine since if DPDK is desired we are best using the version recommended by meta-dpdk. Users can use PREFERRED_VERSION or other tools to override the default behavior. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- recipes-extended/libibverbs/libibverbs_1.1.7.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-extended') diff --git a/recipes-extended/libibverbs/libibverbs_1.1.7.bb b/recipes-extended/libibverbs/libibverbs_1.1.7.bb index e75f90d8..9fc0d6ef 100644 --- a/recipes-extended/libibverbs/libibverbs_1.1.7.bb +++ b/recipes-extended/libibverbs/libibverbs_1.1.7.bb @@ -25,3 +25,5 @@ do_install_append() { mkdir -p ${D}${sysconfdir}/libibverbs.d rm -f ${D}${libdir}/libibverbs.la } + +RCONFLICTS_${PN} = "dpdk-dev-libibverbs" -- cgit