From 5f20962cd0017ddd4873942abd9c8aaa3cf2a3ee Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Thu, 30 Jun 2016 15:09:50 +0800 Subject: [PATCH] qemu-qoriq: Fix runtime providers Signed-off-by: Ting Liu --- recipes-devtools/qemu/qemu-qoriq_git.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index d2e66c9e..99c1293d 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -2,7 +2,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" require recipes-devtools/qemu/qemu.inc -PROVIDES += "qemu" +PROVIDES = "qemu" + +python() { + pkgs = d.getVar('PACKAGES', True).split() + for p in pkgs: + if 'qemu-qoriq' in p: + d.appendVar("RPROVIDES_%s" % p, p.replace('qemu-qoriq', 'qemu')) + d.appendVar("RCONFLICTS_%s" % p, p.replace('qemu-qoriq', 'qemu')) + d.appendVar("RREPLACES_%s" % p, p.replace('qemu-qoriq', 'qemu')) +} DESCRIPTION = "This recipe requires poky's qemu.inc which includes the FSL \ fixes of QorIQ ARM and QorIQ PPC targets, the recipe assumes that glx enable \ -- 2.40.1