diff options
author | Saul Wold <sgw@linux.intel.com> | 2010-12-22 15:50:12 -0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-23 14:28:22 +0000 |
commit | 1c75a5df6845090480deff20f469f177501d2182 (patch) | |
tree | 1bf3ea8f59accedf8c107af802f9ff0951cf4184 /meta/classes/insane.bbclass | |
parent | 06b7c2e9a96aad700fff30c45448ad0b5d57f096 (diff) | |
download | openembedded-core-1c75a5df6845090480deff20f469f177501d2182.tar.gz openembedded-core-1c75a5df6845090480deff20f469f177501d2182.tar.bz2 openembedded-core-1c75a5df6845090480deff20f469f177501d2182.zip |
insane.bbclass: make LIC_FILES_CHKSUM failures report errors
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b06d021b1b..225530a2c9 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -348,7 +348,7 @@ def package_qa_check_license(workdir, d): if not lic_files: # just throw a warning now. Once licensing data in entered for enough of the recipes, # this will be converted into error and False will be returned. - bb.warn(pn + ": Recipe file does not have license file information (LIC_FILES_CHKSUM)") + bb.error(pn + ": Recipe file does not have license file information (LIC_FILES_CHKSUM)") return True srcdir = bb.data.getVar('S', d, True) @@ -394,8 +394,8 @@ def package_qa_check_license(workdir, d): bb.note ("md5 checksum matched for ", url) else: bb.error ("md5 data is not matching for ", url) - bb.note ("The new md5 checksum is ", md5chksum) - bb.note ("Check if the license information has changed, and if it has update the .bb file with correct license") + bb.error ("The new md5 checksum is ", md5chksum) + bb.error ("Check if the license information has changed, and if it has update the .bb file with correct license") sane = False return sane @@ -605,5 +605,5 @@ Rerun configure task after fixing this. The path was '%s'""" % root) Missing inherit gettext?""" % config) if not package_qa_check_license(workdir, d): - bb.fatal("Licensing warning: LIC_FILES_CHKSUM does not match, please fix") + bb.error("Licensing warning: LIC_FILES_CHKSUM does not match, please fix") } |