summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-06-03 21:48:16 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-07 16:05:12 +0100
commitfc81ca7d2d4c2a17967af53f82422892da32fb80 (patch)
treef633545a7dd2da4d6191aaee0eefef90c14edfe7
parentc3682bf89bdf236a4b4d834069d947b6a1456791 (diff)
downloadpoky-fc81ca7d2d4c2a17967af53f82422892da32fb80.tar.gz
insane.bbclass: Throw better error if path is bad
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 0c9bde349c..0511717c94 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -286,6 +286,8 @@ def package_qa_check_license(workdir, d):
286 for url in lic_files.split(): 286 for url in lic_files.split():
287 (type, host, path, user, pswd, parm) = bb.decodeurl(url) 287 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
288 srclicfile = os.path.join(srcdir, path) 288 srclicfile = os.path.join(srcdir, path)
289 if not os.path.isfile(srclicfile):
290 raise bb.build.FuncFailed( "LIC_FILES_CHKSUM points to invalid file: " + path)
289 291
290 if 'md5' not in parm: 292 if 'md5' not in parm:
291 bb.error("md5 checksum is not specified for ", url) 293 bb.error("md5 checksum is not specified for ", url)