[poky] Please ensure you are using layout variables in recipes
Darren Hart
dvhart at linux.intel.com
Tue Jan 25 07:50:12 PST 2011
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?
--
Darren
>
> For example use:
>
> ${bindir}/foo
> ${datadir}/bar
> and
> ${base_sbindir}/baz
>
> rather than:
>
> /usr/bin/foo
> /usr/share/bar
> and
> /sbin/baz
>
> The layout variables are defined in bitbake.conf and we should have
> pretty much everything we need there, if you feel some are missing
> please submit a patch (we've recently added some for cross and nativesdk
> use, for example).
>
> Thanks,
> Joshua
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the poky
mailing list