summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-01-20 00:34:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-24 09:40:22 +0000
commiteb418c37ce799fd1adf003c779ecadde8863cd18 (patch)
treeab32405a99f075709bb514835093a4a6b9814b18
parente1850048a270673003d218d39fda5bbf3f0060ae (diff)
downloadpoky-eb418c37ce799fd1adf003c779ecadde8863cd18.tar.gz
insane.bbclass: fix package_qa_walk()
The parameter "path" would be redefined inside package_qa_walk() which is useless, so remove it. (From OE-Core rev: b07d06d02cb675f5ed00ebe603441254f5671088) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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 9a315edabb..2cd5c52032 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -767,7 +767,7 @@ def package_qa_check_staged(path,d):
767 return sane 767 return sane
768 768
769# Walk over all files in a directory and call func 769# Walk over all files in a directory and call func
770def package_qa_walk(path, warnfuncs, errorfuncs, skip, package, d): 770def package_qa_walk(warnfuncs, errorfuncs, skip, package, d):
771 import oe.qa 771 import oe.qa
772 772
773 #if this will throw an exception, then fix the dict above 773 #if this will throw an exception, then fix the dict above
@@ -1092,7 +1092,7 @@ python do_package_qa () {
1092 "%s doesn't match the [a-z0-9.+-]+ regex" % package, d) 1092 "%s doesn't match the [a-z0-9.+-]+ regex" % package, d)
1093 1093
1094 path = "%s/%s" % (pkgdest, package) 1094 path = "%s/%s" % (pkgdest, package)
1095 package_qa_walk(path, warnchecks, errorchecks, skip, package, d) 1095 package_qa_walk(warnchecks, errorchecks, skip, package, d)
1096 1096
1097 package_qa_check_rdepends(package, pkgdest, skip, taskdeps, packages, d) 1097 package_qa_check_rdepends(package, pkgdest, skip, taskdeps, packages, d)
1098 package_qa_check_deps(package, pkgdest, skip, d) 1098 package_qa_check_deps(package, pkgdest, skip, d)