From: Christopher Larson <clarson@mvista.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: update-rc.d: don't add runtime dependency if not doing online package management; only add it to ${PN} in any case.
Date: Sat, 20 Jun 2009 08:21:38 -0700 [thread overview]
Message-ID: <4A3CFE82.2050106@mvista.com> (raw)
In-Reply-To: <1245492507.29153.244.camel@lenovo.internal.reciva.com>
Phil Blundell wrote:
> On Fri, 2009-06-19 at 08:36 +0100, Phil Blundell wrote:
>
>> On Wed, 2009-06-17 at 17:41 -0400, Denys Dmytriyenko wrote:
>>
>>> Any ideas why RDEPENDS_{PN} in "udev" recipe works, but RDEPENDS_udev doesn't?
>>> It only happens with inherit update-rc.d.bbclass, which also changes
>>> RDEPENDS_{PN}... I have the same issue with my own recipes, which I need to
>>> fix similarly.
>>>
>> It's a side effect of the way that overrides work in bitbake.
>>
>
> ... and Chris Larson, being the great guy that he is, has now added a
> check for this issue to recipe_sanity.bbclass. If you have sanity
> checking enabled, this situation will now elicit a diagnostic along the
> lines of:
>
> NOTE: glibc-2.9: recipe_sanity: rename of variable 'RPROVIDES_${PN}-dev'
> to 'RPROVIDES_glibc-dev' overwrote existing value ' libc-dev' with
> 'libc6-dev virtual-libc-dev'.
>
> which should make it easy to identify such issues in the future. Thanks
> Chris!
Not a problem, happy to help. It's worth noting, for anyone that hasn't
tried recipe_sanity yet, that because it outputs so many messages, by
default it's a standalone task, rather than being hooked into the normal
build process the way sanity (config checks) and insane (packages /
output checks) are. Using it is explicit, INHERIT += "recipe_sanity",
then bitbake -c recipe_sanity foo or bitbake -c recipe_sanity_all foo
(to run against foo and its deps).
-Chris
next prev parent reply other threads:[~2009-06-20 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 4:29 update-rc.d: don't add runtime dependency if not doing online package management; only add it to ${PN} in any case Denys Dmytriyenko
2009-06-17 7:40 ` Phil Blundell
2009-06-17 21:41 ` Denys Dmytriyenko
2009-06-19 7:36 ` Phil Blundell
2009-06-20 10:08 ` Phil Blundell
2009-06-20 15:21 ` Christopher Larson [this message]
2009-06-20 17:19 ` Koen Kooi
2009-06-20 17:32 ` Phil Blundell
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=4A3CFE82.2050106@mvista.com \
--to=clarson@mvista.com \
--cc=openembedded-devel@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.