Best way to maintain local changes?

Thomas Kunze thommycheck at gmx.de
Wed Oct 8 23:10:47 UTC 2008


JustinLove schrieb:
> Is there a good way to maintain a small number of local 
> customizations/patches while staying synced with upstream changes?  So 
> far all my attempts have run into various gotchas.  This is what I 
> currently believe:
>
> Using a different recipe name breaks implicit directory names and 
> specialized variables. (example: using a modified machine file)
>
> Using a different recipe name with PROVIDES and PREFERRED_PROVIDER 
> still causes the original package to be built, with possible 
> conflicts.  The only way around  this would seem to be patching every 
> single reference in OE to use a virtual target. (example: using 
> directfb with a graphics driver; other packages still depend on just 
> 'directfb')
>
> Patches and other files are relative to the top level recipe, so it is 
> necessary to copy all patches etc when using an overlay.  This also 
> applies when using 'inherit.'  Linking can get around this a little 
> bit, but only if you don't need to include a custom patch, inside one 
> of the file trees. (example: making small changes to a kernel 
> defconfig, while the kernel is under active development)
>
>
Do you know bitbake collections?
http://www.pokylinux.org/doc/poky-handbook.html#usingpoky-changes-collections




More information about the Openembedded-users mailing list