[poky] bbappend and require

Mark Hatle mark.hatle at windriver.com
Thu Jun 16 12:02:13 PDT 2011


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.

--Mark




More information about the poky mailing list