summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-06-03 13:02:05 +0000
committerMichael Krelin <hacker@klever.net>2007-06-03 13:02:05 +0000
commit43c0e490400a24a50edf8f7ec50a7532ba691523 (patch)
treee21ca2ee54bed0b6c2221f5f140ec329b8dd96d1
parentbb603658f2fb39998d40dffc5aaa60bba88d5efb (diff)
classes/insane: fixed a bug with undefined 'name' and improved output a bit.
-rw-r--r--classes/insane.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 963ace4221..e6f4f1440d 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -393,9 +393,9 @@ def package_qa_check_rdepends(pkg, workdir, d):
# Now do the sanity check!!!
for rdepend in rdepends:
if "-dbg" in rdepend:
- package_qa_write_error( 2, name, rdepend, d )
- bb.error("QA issue, koen give us a better msg!!!")
- if package_qa_make_fatal_error( 2, name, rdepend, d ):
+ package_qa_write_error( 2, pkgname, rdepend, d )
+ bb.error("QA issue: %s rdepends on %s" % (pkgname,rdepend))
+ if package_qa_make_fatal_error( 2, pkgname, rdepend, d ):
sane = False
return sane