From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Gan Yau Wai <yau.wai.gan@intel.com>
Subject: [PATCH][pyro 3/4] insane.bbclass: fix override handling in RDEPENDS QA
Date: Sat, 12 Aug 2017 02:34:54 +0200 [thread overview]
Message-ID: <20170812003455.27183-3-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <20170812003455.27183-1-Martin.Jansa@gmail.com>
From: Gan Yau Wai <yau.wai.gan@intel.com>
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.
Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df
[YOCTO #11374]
Signed-off-by: Gan Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/classes/insane.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 "")
--
2.14.0
next prev parent reply other threads:[~2017-08-12 0:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-12 0:34 [PATCH][pyro 1/4] v86d, qemuboot-x86.inc: use KERNEL_MODULE_AUTOLOAD+KERNEL_MODULE_PROBECONF for uvesafb instead of fbsetup init script Martin Jansa
2017-08-12 0:34 ` [PATCH][pyro 2/4] icecc.bbclass: prevent nativesdk builds depending on target specific KERNEL_CC Martin Jansa
2017-08-12 0:34 ` Martin Jansa [this message]
2017-08-12 0:37 ` [PATCH][pyro 3/4] insane.bbclass: fix override handling in RDEPENDS QA Martin Jansa
2017-08-12 0:34 ` [PATCH][pyro 4/4] mesa.inc: drop wrong path in --with-llvm-prefix and export LLVM_CONFIG Martin Jansa
2017-08-12 1:01 ` ✗ patchtest: failure for "[pyro] v86d, qemuboot-x86.inc:..." and 3 more Patchwork
2017-08-16 5:04 ` [PATCH][pyro 1/4] v86d, qemuboot-x86.inc: use KERNEL_MODULE_AUTOLOAD+KERNEL_MODULE_PROBECONF for uvesafb instead of fbsetup init script akuster808
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170812003455.27183-3-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=yau.wai.gan@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox