[poky] bbappend and require

Chris Larson clarson at kergoth.com
Thu Jun 16 11:39:06 PDT 2011


On Thu, Jun 16, 2011 at 11:28 AM, Mark Hatle <mark.hatle at windriver.com> wrote:
> On 6/16/11 11:19 AM, Ilya Yanok wrote:
>> Hi guys,
>>
>> Is bbappend supposed to work when the recipe is included (with require)
>> from another recipe?
>>
>> We want to add some package to SDK so I've created
>> task-sdk-host.bbappend in our layer and it works fine. But when I'm
>> building task-qte-toolchain-host (which requires task-sdk-host) bbappend
>> file seems to be ignored. Is it to be expected?
>>
>> It's no problem to create task-qte-toolchain.bbappend also, and this
>> fixes the problem but what should be the right behavior of require wrt
>> bbapend?
>
> This sounds like a bug to me.  Which version of Poky/Yocto are you currently
> using, and can you give us a simple reproducer.  (Better yet, file a bug in the
> bugzilla.yoctoproject.org... if you can't do so, I'll be happy to file it if I
> can get a reproducer.)

I wouldn't think this is a bug. A bbappend applies to the recipe
itself, not any of the files it includes. This is Working As Designed,
as far as I can tell.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the poky mailing list