<div dir="ltr">This and the other patch have been wrapped by your mailer, and also base64 encoded so I can&#39;t trivially fix the whitespace.  Are they in a branch, or can you resend them using git-send-email?<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 August 2017 at 23:40, Saul Wold <span dir="ltr">&lt;<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The top level LICENSE file is not actually a license, it refers<br>
other licenses that are used by Bitbake and Meta-data. Relying<br>
on this file could cause problems for recipes when this file<br>
changes, which it is about to.<br>
<br>
Signed-off-by: Saul Wold &lt;<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>&gt;<br>
---<br>
 meta/classes/insane.bbclass | 6 +++++-<br>
 1 file changed, 5 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass<br>
index 479d39c..6d20eb6 100644<br>
--- a/meta/classes/insane.bbclass<br>
+++ b/meta/classes/insane.bbclass<br>
@@ -659,7 +659,7 @@ python populate_lic_qa_checksum() {<br>
         sane = package_qa_handle_error(&quot;<wbr>license-checksum&quot;, pn + &quot;:<br>
Recipe file fetches files and does not have license file information<br>
(LIC_FILES_CHKSUM)&quot;, d)<br>
 <br>
     srcdir = d.getVar(&#39;S&#39;)<br>
-<br>
+    corebase_licensefile = d.getVar(&#39;COREBASE&#39;) + &quot;/LICENSE&quot;<br>
     for url in lic_files.split():<br>
         try:<br>
             (type, host, path, user, pswd, parm) =<br>
bb.fetch.decodeurl(url)<br>
@@ -670,6 +670,10 @@ python populate_lic_qa_checksum() {<br>
         if not os.path.isfile(srclicfile):<br>
             package_qa_<wbr>handle_error(&quot;license-<wbr>checksum&quot;, pn + &quot;:<br>
LIC_FILES_CHKSUM points to an invalid file: &quot; + srclicfile, d)<br>
             continue<br>
+        <br>
+        if (srclicfile == corebase_licensefile):<br>
+            bb.warn(&quot;${<wbr>COREBASE}/LICENSE is not a valid license file,<br>
please use &#39;${COMMON_LICENSE_DIR}/MIT&#39; for a MIT License file in<br>
LIC_FILES_CHKSUM&quot;)<br>
+            bb.warn(&quot;This will become an error in the next release&quot;)<br>
 <br>
         recipemd5 = parm.get(&#39;md5&#39;, &#39;&#39;)<br>
         beginline, endline = 0, 0<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.7.5<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>