<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 7 September 2015 at 19:38, Mike Looijmans <span dir="ltr">&lt;<a href="mailto:mike.looijmans@topic.nl" target="_blank">mike.looijmans@topic.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 07-09-15 13:56, Jussi Kukkonen wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
On 7 September 2015 at 13:14, Mike Looijmans &lt;<a href="mailto:mike.looijmans@topic.nl" target="_blank">mike.looijmans@topic.nl</a><br></span><span class="">
&lt;mailto:<a href="mailto:mike.looijmans@topic.nl" target="_blank">mike.looijmans@topic.nl</a>&gt;&gt; wrote:<br>
<br>
    Just sped another hour or so trying to pinpoint this, but I cannot<br>
    wrap my head around it. What do I have to do to add a license to a<br>
    layer without these annoying warnings?<br>
<br>
<br>
I just tried this (with master branch) and it seems to work fine<br>
here...  Are you using master or something older?<br>
</span></blockquote>
<br>
Did you try that in a separate, empty layer? I suspect I&#39;m missing a variable or directive of some kind which cause it to miss the license file.<span class=""><br></span></blockquote><div><br></div><div>I have layer with literally only:</div><div>* conf/layer.conf file with just LICENSE_PATH += &quot;${LAYERDIR}/licenses&quot;</div><div>* licenses/internal file</div><div>This layer is added to BBLAYERS. After this a recipe from another layer seems to be able to use the &quot;internal&quot; license...</div><div><br></div><div>Jussi</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Do you not get a &quot;${DEPLOY_DIR}/licenses/${BPN}/generic_internal&quot; file<br>
when you build the recipe for BPN?<br>
</blockquote>
<br></span>
Nope.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
<br>
  - Jussi<br>
<br>
    Mike.<br>
<br>
<br>
    On 03-07-15 09:23, Mike Looijmans wrote:<br>
<br>
        In my layer.conf I have:<br>
<br>
        LICENSE_PATH += &quot;${LAYERDIR}/licenses&quot;<br>
<br>
<br>
        In that path, there&#39;s a license file called &quot;internal&quot;<br>
        containing the<br>
        following short text:<br>
<br>
        For TOPIC internal use only.<br>
        Do not distribute.<br>
<br>
<br>
        Now on each build I get warnings like this for every recipe that<br>
        refers to<br>
        this license:<br>
        &quot;WARNING: The license listed internal was not in the licenses<br>
        collected for<br>
        recipe ...&quot;<br>
<br>
<br>
        As far as I know, I did everything right, but I can&#39;t figure out<br>
        what else I<br>
        need to do here. How do I get this license into the &quot;license<br>
        collected&quot;?<br>
<br>
<br>
<br>
<br>
<br>
    Kind regards,<br>
<br>
    Mike Looijmans<br>
    System Expert<br>
<br>
    TOPIC Embedded Products<br>
    Eindhovenseweg 32-C, NL-5683 KH Best<br>
    Postbus 440, NL-5680 AK Best<br>
    Telefoon: <a href="tel:%2B31%20%280%29%20499%2033%2069%2079" value="+31499336979" target="_blank">+31 (0) 499 33 69 79</a><br></div></div>
    &lt;tel:%2B31%20%280%29%20499%2033%2069%2079&gt;<br>
    Telefax: <a href="tel:%2B31%20%280%29%20499%2033%2069%2070" value="+31499336970" target="_blank">+31 (0) 499 33 69 70</a> &lt;tel:%2B31%20%280%29%20499%2033%2069%2070&gt;<br>
    E-mail: <a href="mailto:mike.looijmans@topicproducts.com" target="_blank">mike.looijmans@topicproducts.com</a><br>
    &lt;mailto:<a href="mailto:mike.looijmans@topicproducts.com" target="_blank">mike.looijmans@topicproducts.com</a>&gt;<br>
    Website: <a href="http://www.topicproducts.com" rel="noreferrer" target="_blank">www.topicproducts.com</a> &lt;<a href="http://www.topicproducts.com" rel="noreferrer" target="_blank">http://www.topicproducts.com</a>&gt;<span class=""><br>
<br>
    Please consider the environment before printing this e-mail<br>
<br>
<br>
<br>
<br>
<br>
    --<br>
    _______________________________________________<br>
    Openembedded-core mailing list<br>
    <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br></span>
    &lt;mailto:<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a>&gt;<br>
    <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
<br>
<br><span class=""><font color="#888888">
</font></span></blockquote><span class=""><font color="#888888">
<br>
<br>
-- <br>
Mike Looijmans<br>
</font></span></blockquote></div><br></div></div>