summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index ead718db7f..693295a7a5 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -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):