[poky] Distro policy ?
Saul Wold
saul.wold at intel.com
Thu Apr 14 13:28:22 PDT 2011
On 04/14/2011 12:44 PM, Wolfgang Denk wrote:
> HI,
>
> we're trying to build our own distribution based on Yocto 1.0. We
> would like to push all modifications / extensions and our distro stuff
> upstream into the mainline repository, but we are not sure what is the
> best way to do this:
>
> So far we have put our distro-related changes into a separate layer
> but it seems that it was not so good idea: it looks like bitbake
> can't include files from one layer to another and we have to copy
> includes even if we don't want to change them.
>
Wolfgang,
I would like to get more details about which include files (.incs) you
are needing to modify. I know that there was some discussion at ELC
this week about similar issues. I also know that we have a "Layering
Tools" item on the 1.1 feature list to address these issues.
> Putting our changes back into the main layer would be pretty trivial,
> but it appears that current tendency is to move all
> distribution-specific things to their respective layers (like the
> poky distro configuration itself was moved to the meta-yocto layer).
>
Correct, the core is supposed to be clean and distributions are supposed
to be in layers. Your layer can be linked to or hosted on the
git.yoctoproject.org site if you would like. Pulling distro specific
changes into core is not appropriate. If you have generic changes to
core that would be appropriate to all distro, we would consider them.
> So, from the policy side I think we should go with our own layer.
> On the technical side I'm disappointed with this 'include' problem: I
> find it rather impractical to copy things we don't want to change and
> just want to use from one layer to another and then having to keep
> these in sync with mainline.
>
> What is the recommended way to address this issue?
>
For the short term, I think that you may need to deal with the copy
issue, until we have tooling in place.
I know this is not the answer you wanted to hear right now, we know
about the issue and are looking at it.
Sau!
> Best regards,
>
> Wolfgang Denk
>
More information about the poky
mailing list