diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index fa05fc055b..763d5f1da2 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -176,7 +176,7 @@ def package_qa_check_useless_rpaths(file, name, d, elf, messages): | |||
176 | if rpath_eq(rpath, libdir) or rpath_eq(rpath, base_libdir): | 176 | if rpath_eq(rpath, libdir) or rpath_eq(rpath, base_libdir): |
177 | # The dynamic linker searches both these places anyway. There is no point in | 177 | # The dynamic linker searches both these places anyway. There is no point in |
178 | # looking there again. | 178 | # looking there again. |
179 | package_qa_add_message(messages, "useless-rpaths", "%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d), rpath)) | 179 | package_qa_add_message(messages, "useless-rpaths", "%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d, name), rpath)) |
180 | 180 | ||
181 | QAPATHTEST[dev-so] = "package_qa_check_dev" | 181 | QAPATHTEST[dev-so] = "package_qa_check_dev" |
182 | def package_qa_check_dev(path, name, d, elf, messages): | 182 | def package_qa_check_dev(path, name, d, elf, messages): |
@@ -185,8 +185,8 @@ def package_qa_check_dev(path, name, d, elf, messages): | |||
185 | """ | 185 | """ |
186 | 186 | ||
187 | if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-ptest") and not name.startswith("nativesdk-") and path.endswith(".so") and os.path.islink(path): | 187 | if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-ptest") and not name.startswith("nativesdk-") and path.endswith(".so") and os.path.islink(path): |
188 | package_qa_add_message(messages, "dev-so", "non -dev/-dbg/nativesdk- package contains symlink .so: %s path '%s'" % \ | 188 | package_qa_add_message(messages, "dev-so", "non -dev/-dbg/nativesdk- package %s contains symlink .so '%s'" % \ |
189 | (name, package_qa_clean_path(path,d))) | 189 | (name, package_qa_clean_path(path, d, name))) |
190 | 190 | ||
191 | QAPATHTEST[dev-elf] = "package_qa_check_dev_elf" | 191 | QAPATHTEST[dev-elf] = "package_qa_check_dev_elf" |
192 | def package_qa_check_dev_elf(path, name, d, elf, messages): | 192 | def package_qa_check_dev_elf(path, name, d, elf, messages): |
@@ -196,8 +196,8 @@ def package_qa_check_dev_elf(path, name, d, elf, messages): | |||
196 | install link-time .so files that are linker scripts. | 196 | install link-time .so files that are linker scripts. |
197 | """ | 197 | """ |
198 | if name.endswith("-dev") and path.endswith(".so") and not os.path.islink(path) and elf: | 198 | if name.endswith("-dev") and path.endswith(".so") and not os.path.islink(path) and elf: |
199 | package_qa_add_message(messages, "dev-elf", "-dev package contains non-symlink .so: %s path '%s'" % \ | 199 | package_qa_add_message(messages, "dev-elf", "-dev package %s contains non-symlink .so '%s'" % \ |
200 | (name, package_qa_clean_path(path,d))) | 200 | (name, package_qa_clean_path(path, d, name))) |
201 | 201 | ||
202 | QAPATHTEST[staticdev] = "package_qa_check_staticdev" | 202 | QAPATHTEST[staticdev] = "package_qa_check_staticdev" |
203 | def package_qa_check_staticdev(path, name, d, elf, messages): | 203 | def package_qa_check_staticdev(path, name, d, elf, messages): |
@@ -210,7 +210,7 @@ def package_qa_check_staticdev(path, name, d, elf, messages): | |||
210 | 210 | ||
211 | if not name.endswith("-pic") and not name.endswith("-staticdev") and not name.endswith("-ptest") and path.endswith(".a") and not path.endswith("_nonshared.a") and not '/usr/lib/debug-static/' in path and not '/.debug-static/' in path: | 211 | if not name.endswith("-pic") and not name.endswith("-staticdev") and not name.endswith("-ptest") and path.endswith(".a") and not path.endswith("_nonshared.a") and not '/usr/lib/debug-static/' in path and not '/.debug-static/' in path: |
212 | package_qa_add_message(messages, "staticdev", "non -staticdev package contains static .a library: %s path '%s'" % \ | 212 | package_qa_add_message(messages, "staticdev", "non -staticdev package contains static .a library: %s path '%s'" % \ |
213 | (name, package_qa_clean_path(path,d))) | 213 | (name, package_qa_clean_path(path,d, name))) |
214 | 214 | ||
215 | QAPATHTEST[mime] = "package_qa_check_mime" | 215 | QAPATHTEST[mime] = "package_qa_check_mime" |
216 | def package_qa_check_mime(path, name, d, elf, messages): | 216 | def package_qa_check_mime(path, name, d, elf, messages): |