[meta-intel] [meta-dpdk][PATCH] dpdk-dev-libibverbs: allow meta-dpdk to play nice with other layers

Mark Asselstine mark.asselstine at windriver.com
Tue Dec 19 11:26:52 PST 2017


If you are using meta-dpdk along with a layer which has its own
libibverbs recipe there is potential for conflict when assembling the
rootfs. Allow coexistence with "proper" libibverbs by making
dpdk-dev-libibverbs RPROVIDE "libibverbs1".

This can be seen for example when combining meta-dpdk and
meta-cloud-services with an image that includes dpdk and glusterfs.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 .../dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb b/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
index e40c63b..fb4df68 100644
--- a/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
+++ b/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bb
@@ -24,4 +24,6 @@ S = "${WORKDIR}/${PN}-libibverbs-${PV}"
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
 DEPENDS = "libnl"
 
+RPROVIDES_${PN} = "libibverbs1"
+
 inherit pkgconfig autotools
-- 
2.7.4



More information about the meta-intel mailing list