[poky] Please ensure you are using layout variables in recipes

Saul Wold saul.wold at intel.com
Tue Jan 25 09:19:55 PST 2011


On 01/25/2011 08:00 AM, Joshua Lock wrote:
> On Tue, 2011-01-25 at 07:50 -0800, Darren Hart wrote:
>> On 01/25/2011 04:35 AM, Joshua Lock wrote:
>>> Hi all,
>>>
>>> When creating/editing recipes can we please ensure consistent use of
>>> layout variables, rather than absolute paths.
>>
>> Hi Josh,
>>
>> When I was putting together the mediatomb scripts I remember running
>> into this. We typically have to write custom init scripts, for example,
>> in order to deal with this as well as some other subtleties and
>> assumptions made by the package init author. In these cases, it would be
>> really useful to have a layer skeleton, which also included skeleton
>> recipes, images, etc. All commented, complete with documentation links
>> to aid people through the process. Seeing it all together in final form
>> would go a long way to helping people get it right the first (or maybe
>> the second) time. I've discussed this with Saul as well, maybe something
>> we need to get on the schedule?
>
> I was just proposing something similar. Of course all of our metadata
> should meet the same high standards but it would make sense to have
> somewhere to point at as the canonical example.
>
> Scheduling time to work providing example definitely gets my backing.
>
This is still on my radar, and was partly what I was thinking about this 
for my talk.  I have been thinking about a Yocto Metadata Philosophy, 
that shares our update vision (based on some of the recent input) along 
with layer/recipe implementation and examples. We can add to this init 
scripts and other examples of commonly modified files.

Sau!

> Cheers,
> Joshua




More information about the poky mailing list