<div dir="ltr"><div><div>We have this variable appearing in a couple manuals BTW.  If anyone has any feedback on what is being said here I can update.<br><br></div>Thanks,<br></div>Scott<br><br><a href="https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-LAYERSERIES_COMPAT">https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-LAYERSERIES_COMPAT</a><br><a href="https://www.yoctoproject.org/docs/2.5/dev-manual/dev-manual.html#creating-your-own-layer">https://www.yoctoproject.org/docs/2.5/dev-manual/dev-manual.html#creating-your-own-layer</a><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 8:29 AM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 2018-04-06 at 10:16 -0400, Trevor Woerner wrote:<br>
&gt; A) Some layers only switch to an official branch name when the find a<br>
&gt; reason to. E.g. branch &quot;sumo&quot; is created on openembedded-core but<br>
&gt; meta-A keeps working on master unless an incompatible change is<br>
&gt; created in openembedded-core that forces meta-A to create a &quot;sumo&quot;<br>
&gt; branch.<br>
&gt;<br>
&gt; B) Other layers create official branches the moment they exist. E.g.<br>
&gt; branch &quot;sumo&quot; is created on openembedded-core and meta-B instantly<br>
&gt; creates a &quot;sumo&quot; branch to mark this point in time, and continues<br>
&gt; working on master. If meta-B&#39;s &quot;sumo&quot; branch fails to build against<br>
&gt; openembedded-core&#39;s &quot;sumo&quot; branch because an incompatible change is<br>
&gt; made to openembedded-core&#39;s sumo branch, meta-B fixes the issue on<br>
&gt; the sumo branch.<br>
&gt;<br>
&gt;<br>
&gt; I can see how the change you&#39;ve implemented will be very useful for<br>
&gt; the A)<br>
&gt; cases. Will it be needed for the B) cases? In other words, does the<br>
&gt; code<br>
&gt; you&#39;re adding implicitly assume:<br>
&gt;<br>
&gt;       LAYERSERIES_COMPAT_&lt;...&gt; = &quot;layer&quot;<br>
&gt;<br>
&gt; for any given &quot;layer&quot;?<br>
<br>
</span>No, there is no implicit assumption.<br>
<br>
In both A) and B) cases the maintainer adds the new &quot;codename&quot; to the<br>
list of compatible layer series in LAYERSERIES_COMPAT_&lt;layer&gt; for their<br>
layer. They can list multiple layers in there, e.g. &quot;rocko sumo&quot;.<br>
<br>
The one annoying thing about all this is the layer maintainers do have<br>
to update layer.conf each time a new release codename comes out. I<br>
think that is a reasonable compromise to be able to give users a much<br>
better idea of which layers are compatible or incomaptible with their<br>
setup though. It means someone has looked at it and believes it will<br>
work with a given release series.<br>
<br>
Just to be clear, &quot;layer&quot; would never be a valid value there, it will<br>
always be the release/branch codenames.<br>
<br>
Cheers,<br>
<br>
Richard<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Openembedded-architecture mailing list<br>
<a href="mailto:Openembedded-architecture@lists.openembedded.org">Openembedded-architecture@<wbr>lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-architecture" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>architecture</a><br>
</div></div></blockquote></div><br></div>