On Fri, Dec 10, 2010 at 7:17 AM, Ambrose, Martin <[email protected]> wrote:
> On Fri, Nov 19, 2010 at 20:01:28, Ambrose, Martin wrote:
>
>> I find that using the latest srctree the stamps aren't updated in the same 
>> fashion
>> as regular recipes. In the example below I build the srctree recipe 
>> (mypackage) and
>> then build an image depending on same. Even though the package is built just 
>> prior
>> the image build still processes several steps which seem redundant.
>>
>> I see some special handling of stamps in srctree.bbclass and wonder if this
>> is expected/desired behavior.
>>
>> Thanks for any help/pointers.
>
> First: sorry for the double post -- some transitory problem with our mail 
> server.
>
> I found that the lack of expected stamps resulted in errors when building 
> images
> with srctree recipes as run time dependencies. Since the do_populate_sysroot,
> among others, task stamp was not present it was run again. Various errors
> could occur depending on the nature of the recipe but I often saw
>
> * resolve_conffiles: Existing conffile 
> /home/user/work/oe/arago-tmp/rootfs/my-image/etc/device_table is different 
> from the conffile in the new package.
>
> The following patch to create the missing stamps is my resolution.
> Comments welcome.

This looks right to me.  When it was switched from exec_task to
exec_func to avoid other complications, I guess it was forgotten that
exec_task is what runs make_stamp :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to