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 c6dff9659c..44dbed875b 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -175,7 +175,7 @@ def package_qa_check_useless_rpaths(file, name, d, elf, messages): | |||
175 | if rpath_eq(rpath, libdir) or rpath_eq(rpath, base_libdir): | 175 | if rpath_eq(rpath, libdir) or rpath_eq(rpath, base_libdir): |
176 | # The dynamic linker searches both these places anyway. There is no point in | 176 | # The dynamic linker searches both these places anyway. There is no point in |
177 | # looking there again. | 177 | # looking there again. |
178 | package_qa_add_message(messages, "useless-rpaths", "%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d), rpath)) | 178 | package_qa_add_message(messages, "useless-rpaths", "%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d, name), rpath)) |
179 | 179 | ||
180 | QAPATHTEST[dev-so] = "package_qa_check_dev" | 180 | QAPATHTEST[dev-so] = "package_qa_check_dev" |
181 | def package_qa_check_dev(path, name, d, elf, messages): | 181 | def package_qa_check_dev(path, name, d, elf, messages): |
@@ -184,8 +184,8 @@ def package_qa_check_dev(path, name, d, elf, messages): | |||
184 | """ | 184 | """ |
185 | 185 | ||
186 | 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): | 186 | 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 | package_qa_add_message(messages, "dev-so", "non -dev/-dbg/nativesdk- package contains symlink .so: %s path '%s'" % \ | 187 | package_qa_add_message(messages, "dev-so", "non -dev/-dbg/nativesdk- package %s contains symlink .so '%s'" % \ |
188 | (name, package_qa_clean_path(path,d))) | 188 | (name, package_qa_clean_path(path, d, name))) |
189 | 189 | ||
190 | QAPATHTEST[dev-elf] = "package_qa_check_dev_elf" | 190 | QAPATHTEST[dev-elf] = "package_qa_check_dev_elf" |
191 | def package_qa_check_dev_elf(path, name, d, elf, messages): | 191 | def package_qa_check_dev_elf(path, name, d, elf, messages): |
@@ -195,8 +195,8 @@ def package_qa_check_dev_elf(path, name, d, elf, messages): | |||
195 | install link-time .so files that are linker scripts. | 195 | install link-time .so files that are linker scripts. |
196 | """ | 196 | """ |
197 | if name.endswith("-dev") and path.endswith(".so") and not os.path.islink(path) and elf: | 197 | if name.endswith("-dev") and path.endswith(".so") and not os.path.islink(path) and elf: |
198 | package_qa_add_message(messages, "dev-elf", "-dev package contains non-symlink .so: %s path '%s'" % \ | 198 | package_qa_add_message(messages, "dev-elf", "-dev package %s contains non-symlink .so '%s'" % \ |
199 | (name, package_qa_clean_path(path,d))) | 199 | (name, package_qa_clean_path(path, d, name))) |
200 | 200 | ||
201 | QAPATHTEST[staticdev] = "package_qa_check_staticdev" | 201 | QAPATHTEST[staticdev] = "package_qa_check_staticdev" |
202 | def package_qa_check_staticdev(path, name, d, elf, messages): | 202 | def package_qa_check_staticdev(path, name, d, elf, messages): |
@@ -209,7 +209,7 @@ def package_qa_check_staticdev(path, name, d, elf, messages): | |||
209 | 209 | ||
210 | 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: | 210 | 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 | package_qa_add_message(messages, "staticdev", "non -staticdev package contains static .a library: %s path '%s'" % \ | 211 | package_qa_add_message(messages, "staticdev", "non -staticdev package contains static .a library: %s path '%s'" % \ |
212 | (name, package_qa_clean_path(path,d))) | 212 | (name, package_qa_clean_path(path,d, name))) |
213 | 213 | ||
214 | QAPATHTEST[mime] = "package_qa_check_mime" | 214 | QAPATHTEST[mime] = "package_qa_check_mime" |
215 | def package_qa_check_mime(path, name, d, elf, messages): | 215 | def package_qa_check_mime(path, name, d, elf, messages): |