From: Robert Yang <liezhi.yang@windriver.com>
To: Olof Johansson <olof.johansson@axis.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] base.bbclass: Don't warn about "invalid" PACKAGECONFIGs by default
Date: Thu, 30 Jul 2015 23:21:19 +0800 [thread overview]
Message-ID: <55BA40EF.30608@windriver.com> (raw)
In-Reply-To: <1438255416-sup-6247@axis.com>
On 07/30/2015 07:24 PM, Olof Johansson wrote:
> Excerpts from Robert Yang's message of 2015-07-30 12:08:37 +0200:
>> I have a new patch for this, it will be moved into insane.bbclass,
>> and the recipe can set INSANE_SKIP:
>> +
>> + # Check invalid PACKAGECONFIG
>> + pkgconfig = (d.getVar("PACKAGECONFIG", True) or "").split()
>> + if pkgconfig:
>> + pkgconfigflags = d.getVarFlags("PACKAGECONFIG") or {}
>> + for pconfig in pkgconfig:
>> + if pconfig not in pkgconfigflags:
>> + pn = d.getVar('PN', True)
>> + error_msg = "%s: invalid PACKAGECONFIG: %s" % (pn, pconfig)
>> + package_qa_handle_error("invalid-pkgconfig", error_msg, d)
>>
>> I'm testing it, and will send it out sooner.
>
> Thanks, such a patch would work nicely with my use case!
You're welcome, sent:
http://lists.openembedded.org/pipermail/openembedded-core/2015-July/108119.html
// Robert
>
prev parent reply other threads:[~2015-07-30 15:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 9:43 [PATCH] base.bbclass: Don't warn about "invalid" PACKAGECONFIGs by default Olof Johansson
2015-07-30 9:53 ` Burton, Ross
2015-07-30 10:14 ` Olof Johansson
2015-07-30 10:08 ` Robert Yang
2015-07-30 11:24 ` Olof Johansson
2015-07-30 15:21 ` Robert Yang [this message]
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=55BA40EF.30608@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=olof.johansson@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.