[oe-commits] [openembedded-core] 07/10: insane.bbclass: Make missing license file fatal

git at git.openembedded.org git at git.openembedded.org
Thu Jun 28 08:23:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit da29440633706fb7a346391d97894d6f2cbb0d01
Author: Olof Johansson <olof.johansson at axis.com>
AuthorDate: Mon Jun 25 13:34:45 2018 +0200

    insane.bbclass: Make missing license file fatal
    
    If a license file referenced from LIC_FILES_CHKSUM doesn't exist,
    insane.bbclass would output an error message, but would continue the
    build. This change makes this error fatal (as I suspect has been the
    intention).
    
    Signed-off-by: Olof Johansson <olofjn at axis.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index bd7f519..bdfdc31 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -612,7 +612,7 @@ python populate_lic_qa_checksum() {
             continue
         srclicfile = os.path.join(srcdir, path)
         if not os.path.isfile(srclicfile):
-            package_qa_handle_error("license-checksum", pn + ": LIC_FILES_CHKSUM points to an invalid file: " + srclicfile, d)
+            sane = package_qa_handle_error("license-checksum", pn + ": LIC_FILES_CHKSUM points to an invalid file: " + srclicfile, d)
             continue
 
         if (srclicfile == corebase_licensefile):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list