diff options
author | Olof Johansson <olof.johansson@axis.com> | 2018-06-25 13:34:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-28 09:22:30 +0100 |
commit | da29440633706fb7a346391d97894d6f2cbb0d01 (patch) | |
tree | e501407720fcbda36654397d6295beed432dbdac | |
parent | b9b254da08c1db94ac9ded5f67d7e2e82e3b9be7 (diff) | |
download | openembedded-core-da29440633706fb7a346391d97894d6f2cbb0d01.tar.gz openembedded-core-da29440633706fb7a346391d97894d6f2cbb0d01.tar.bz2 openembedded-core-da29440633706fb7a346391d97894d6f2cbb0d01.zip |
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@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index bd7f51956a..bdfdc315aa 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): |