[oe] Please submit your unindexed layers

Burton, Ross ross.burton at intel.com
Tue May 7 14:03:07 UTC 2013


On 7 May 2013 11:49, Carlos Rafael Giani <dv at pseudoterminal.org> wrote:
> * it uses _prepend in various places; I was able to replace all but one of
> them with prefuncs. The remaining one is populate_packages_prepend , and I
> just do not see how this could be turned into a prefunc. (And it is
> necessary to use it, because do_packages_split apparently cannot be used
> anywhere else.)
>   I think prefuncs are cleaner, because they do not modify an existing
> function. Also, if the indentation style changes again someday, prefuncs
> cause less problems than _prepend does.

The preferred way to do this is to use PACKAGESPLITFUNCS, examples in
the systemd and update-rc.d classes.

Ross




More information about the Openembedded-devel mailing list