summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorOlof Johansson <olof.johansson@axis.com>2018-06-25 13:34:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-28 09:22:35 +0100
commitfed27b09454c8e84ffdd5e3da65d2aa71db01032 (patch)
treef7fa9edd1b5d6038946b4ea31a95e8f70e87272e /meta/classes/insane.bbclass
parent1d2e5eed4095f0e1f458bfa1e086e39575cb3605 (diff)
downloadpoky-fed27b09454c8e84ffdd5e3da65d2aa71db01032.tar.gz
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). (From OE-Core rev: da29440633706fb7a346391d97894d6f2cbb0d01) Signed-off-by: Olof Johansson <olofjn@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass2
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() {
612 continue 612 continue
613 srclicfile = os.path.join(srcdir, path) 613 srclicfile = os.path.join(srcdir, path)
614 if not os.path.isfile(srclicfile): 614 if not os.path.isfile(srclicfile):
615 package_qa_handle_error("license-checksum", pn + ": LIC_FILES_CHKSUM points to an invalid file: " + srclicfile, d) 615 sane = package_qa_handle_error("license-checksum", pn + ": LIC_FILES_CHKSUM points to an invalid file: " + srclicfile, d)
616 continue 616 continue
617 617
618 if (srclicfile == corebase_licensefile): 618 if (srclicfile == corebase_licensefile):