[poky] bbappend and require

Chris Larson clarson at kergoth.com
Thu Jun 16 12:21:57 PDT 2011


On Thu, Jun 16, 2011 at 12:02 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> On 6/16/11 1:39 PM, Chris Larson wrote:
>> 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.
>
> I misunderstood the issue then.. I thought what was being described was..
>
> task-sdk-host.bb had a task-sdk-host.bbappend
>
> task-qte-toolchain-host.bb requires task-sdk-host..
>
> building task-sdk-host "worked", building "task-qte-toolchain-host" didn't.  If
> that's not the case... then Chris is correct.. this is as designed.  a bbappend
> only affects the item being appended.

Nature of the terminology being used, it's unclear whether 'require'
means 'recipe dependency' or 'the bitbake "require" command' in this
context :)
-- 
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