From: Gan, Yau Wai Date: Thu, 1 Jun 2017 00:24:39 +0000 (-0700) Subject: insane.bbclass: fix override handling in RDEPENDS QA X-Git-Tag: uninative-1.7~689 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=60d28dd72daee235150ab6605cbf953f1ea691df;p=openembedded-core.git insane.bbclass: fix override handling in RDEPENDS QA The package_qa_check_rdepends() in insane.bbclass has incorrectly replace its localdata OVERRIDES value with the package name. Fixing it by appending the package name to the existing OVERRIDES value. This resolves RDEPENDS QA error when setting PACKAGECONFIG using a pn- override at local.conf. [YOCTO #11374] Signed-off-by: Gan, Yau Wai Signed-off-by: Ross Burton --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index dc1c2f8d41..5a3d017004 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -867,7 +867,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d): if not "-dbg" in pkg and not "packagegroup-" in pkg and not "-image" in pkg: localdata = bb.data.createCopy(d) - localdata.setVar('OVERRIDES', pkg) + localdata.setVar('OVERRIDES', localdata.getVar('OVERRIDES') + ':' + pkg) # Now check the RDEPENDS rdepends = bb.utils.explode_deps(localdata.getVar('RDEPENDS') or "")