insane.bbclass: update to current -dbg handling, as indicated by QA meister Holger F.
authorKoen Kooi <koen@openembedded.org>
Sun, 22 Oct 2006 19:05:55 +0000 (19:05 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 22 Oct 2006 19:05:55 +0000 (19:05 +0000)
classes/insane.bbclass

index ead718d..693295a 100644 (file)
@@ -53,7 +53,7 @@ def package_qa_check_devdbg(path, name,d):
             bb.error("QA Issue: non dev package contains .so")
 
     if not "-dbg" in name:
-        if path[-4:] == ".dbg":
+        if path.contains('.debug'):
             bb.error("QA Issue: non debug package contains .dbg file")
 
 def package_qa_check_perm(path,name,d):