<div dir="ltr">This and the other patch have been wrapped by your mailer, and also base64 encoded so I can'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"><<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>></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 <<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>><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("<wbr>license-checksum", pn + ":<br>
Recipe file fetches files and does not have license file information<br>
(LIC_FILES_CHKSUM)", d)<br>
<br>
srcdir = d.getVar('S')<br>
-<br>
+ corebase_licensefile = d.getVar('COREBASE') + "/LICENSE"<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("license-<wbr>checksum", pn + ":<br>
LIC_FILES_CHKSUM points to an invalid file: " + srclicfile, d)<br>
continue<br>
+ <br>
+ if (srclicfile == corebase_licensefile):<br>
+ bb.warn("${<wbr>COREBASE}/LICENSE is not a valid license file,<br>
please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in<br>
LIC_FILES_CHKSUM")<br>
+ bb.warn("This will become an error in the next release")<br>
<br>
recipemd5 = parm.get('md5', '')<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>