[meta-virtualization] [m-c-s][PATCH] libibverbs: don't do battle when meta-dpdk is in play

Bruce Ashfield bruce.ashfield at gmail.com
Tue Dec 19 19:43:31 PST 2017


merged!

Bruce

On Fri, Dec 15, 2017 at 5:12 PM, Mark Asselstine
<mark.asselstine at windriver.com> wrote:
> 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 <mark.asselstine at windriver.com>
> ---
>  recipes-extended/libibverbs/libibverbs_1.1.7.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-extended/libibverbs/libibverbs_1.1.7.bb b/recipes-extended/libibverbs/libibverbs_1.1.7.bb
> index e75f90d..9fc0d6e 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"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list