[OE-core] [PATCH][pyro 3/4] insane.bbclass: fix override handling in RDEPENDS QA

Martin Jansa martin.jansa at gmail.com
Sat Aug 12 00:37:33 UTC 2017


I'm sorry for resending the first 2 patches in this series, but git
send-email didn't like the colon in Gan Yau Wai e-mail name - it's inside
the quotes for author e-mail, but in Signed-off-by it's parsed without
quotes, so the colon is taken as e-mail separator.

For second git send-email tryi, I've updated the commit to remove the colon
(from both author and SOB line).

See the error bellow:

(mbox) Adding cc: "Gan, Yau Wai" <yau.wai.gan at intel.com> from line 'From:
"Gan, Yau Wai" <yau.wai.gan at intel.com>'
(body) Adding cc: Gan, Yau Wai <yau.wai.gan at intel.com> from line
'Signed-off-by: Gan, Yau Wai <yau.wai.gan at intel.com>'
(body) Adding cc: Ross Burton <ross.burton at intel.com> from line
'Signed-off-by: Ross Burton <ross.burton at intel.com>'
(body) Adding cc: Martin Jansa <Martin.Jansa at gmail.com> from line
'Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>'
sendmail: recipient address Gan not accepted by the server
sendmail: server message: 553 5.1.2 The recipient address <Gan> is not a
valid RFC-5321 address. w19sm3347498wrb.49 - gsmtp
sendmail: could not send mail (account default from /OE/.msmtprc)
Died at /usr/libexec/git-core/git-send-email line 1361.


On Sat, Aug 12, 2017 at 2:34 AM, Martin Jansa <martin.jansa at gmail.com>
wrote:

> From: Gan Yau Wai <yau.wai.gan at 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 at intel.com>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> Signed-off-by: Martin Jansa <Martin.Jansa at 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 part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170812/e6459a91/attachment-0002.html>


More information about the Openembedded-core mailing list