aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-26 19:20:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-06 10:30:57 +0100
commit9da177c149c657dc337a1f0d241175f1496fa07d (patch)
treef8e3f54afec05aec5e7c9fe9598b452da33143c0
parentf58f364b1ae97805abc5f9eb7b300617f59826b2 (diff)
downloadopenembedded-core-contrib-9da177c149c657dc337a1f0d241175f1496fa07d.tar.gz
insane.bbclass: remove workdir from package_qa_check_license()
The parameter workdir is not used in package_qa_check_license() Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index c57b21735d..a1d23d055b 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -672,7 +672,7 @@ def package_qa_check_symlink_to_sysroot(path, name, d, elf, messages):
trimmed = path.replace(os.path.join (d.getVar("PKGDEST", True), name), "")
package_qa_add_message(messages, "symlink-to-sysroot", "Symlink %s in %s points to TMPDIR" % (trimmed, name))
-def package_qa_check_license(workdir, d):
+def package_qa_check_license(d):
"""
Check for changes in the license files
"""
@@ -1211,7 +1211,7 @@ Missing inherit gettext?""" % (gt, config))
# Check license variables
###########################################################################
- package_qa_check_license(workdir, d)
+ package_qa_check_license(d)
###########################################################################
# Check unrecognised configure options (with a white list)