diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-06-03 21:48:16 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-07 16:05:12 +0100 |
commit | fc81ca7d2d4c2a17967af53f82422892da32fb80 (patch) | |
tree | f633545a7dd2da4d6191aaee0eefef90c14edfe7 /meta/classes | |
parent | c3682bf89bdf236a4b4d834069d947b6a1456791 (diff) | |
download | poky-fc81ca7d2d4c2a17967af53f82422892da32fb80.tar.gz |
insane.bbclass: Throw better error if path is bad
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
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) |