aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGan, Yau Wai <yau.wai.gan@intel.com>2017-05-31 17:24:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-03 23:43:28 +0100
commit60d28dd72daee235150ab6605cbf953f1ea691df (patch)
tree119f53a38dcf2c8f253af1190638e94a4ae6f762
parentdb54c9a22a9b66c673df8e836de5e47fc9edda0b (diff)
downloadopenembedded-core-60d28dd72daee235150ab6605cbf953f1ea691df.zip
openembedded-core-60d28dd72daee235150ab6605cbf953f1ea691df.tar.gz
openembedded-core-60d28dd72daee235150ab6605cbf953f1ea691df.tar.bz2
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 <yau.wai.gan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index dc1c2f8..5a3d017 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 "")