diff options
| author | Ross Burton <ross@burtonini.com> | 2021-04-13 16:18:22 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-30 14:37:37 +0100 |
| commit | 059c62dcc9a0cad47778ceac92dd8ed6e461fe53 (patch) | |
| tree | b4782d17ba0904702832fd927ec06c4ac6a11d0b /meta/classes | |
| parent | 18421b909b33401f5486f52e898866c293e9240c (diff) | |
| download | poky-059c62dcc9a0cad47778ceac92dd8ed6e461fe53.tar.gz | |
insane: clean up some more warning messages
(From OE-Core rev: 4acbb63105b241f537414d0ab6d09b269cf8202b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2abe18682192e7b38b9af5a5043906f2f069648f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -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 09e8fbd8e4..eb19425652 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
| @@ -174,7 +174,7 @@ def package_qa_check_useless_rpaths(file, name, d, elf, messages): | |||
| 174 | if rpath_eq(rpath, libdir) or rpath_eq(rpath, base_libdir): | 174 | if rpath_eq(rpath, libdir) or rpath_eq(rpath, base_libdir): |
| 175 | # The dynamic linker searches both these places anyway. There is no point in | 175 | # The dynamic linker searches both these places anyway. There is no point in |
| 176 | # looking there again. | 176 | # looking there again. |
| 177 | package_qa_add_message(messages, "useless-rpaths", "%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d), rpath)) | 177 | package_qa_add_message(messages, "useless-rpaths", "%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d, name), rpath)) |
| 178 | 178 | ||
| 179 | QAPATHTEST[dev-so] = "package_qa_check_dev" | 179 | QAPATHTEST[dev-so] = "package_qa_check_dev" |
| 180 | def package_qa_check_dev(path, name, d, elf, messages): | 180 | def package_qa_check_dev(path, name, d, elf, messages): |
| @@ -183,8 +183,8 @@ def package_qa_check_dev(path, name, d, elf, messages): | |||
| 183 | """ | 183 | """ |
| 184 | 184 | ||
| 185 | 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): | 185 | 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 | package_qa_add_message(messages, "dev-so", "non -dev/-dbg/nativesdk- package contains symlink .so: %s path '%s'" % \ | 186 | package_qa_add_message(messages, "dev-so", "non -dev/-dbg/nativesdk- package %s contains symlink .so '%s'" % \ |
| 187 | (name, package_qa_clean_path(path,d))) | 187 | (name, package_qa_clean_path(path, d, name))) |
| 188 | 188 | ||
| 189 | QAPATHTEST[dev-elf] = "package_qa_check_dev_elf" | 189 | QAPATHTEST[dev-elf] = "package_qa_check_dev_elf" |
| 190 | def package_qa_check_dev_elf(path, name, d, elf, messages): | 190 | def package_qa_check_dev_elf(path, name, d, elf, messages): |
| @@ -194,8 +194,8 @@ def package_qa_check_dev_elf(path, name, d, elf, messages): | |||
| 194 | install link-time .so files that are linker scripts. | 194 | install link-time .so files that are linker scripts. |
| 195 | """ | 195 | """ |
| 196 | if name.endswith("-dev") and path.endswith(".so") and not os.path.islink(path) and elf: | 196 | if name.endswith("-dev") and path.endswith(".so") and not os.path.islink(path) and elf: |
| 197 | package_qa_add_message(messages, "dev-elf", "-dev package contains non-symlink .so: %s path '%s'" % \ | 197 | package_qa_add_message(messages, "dev-elf", "-dev package %s contains non-symlink .so '%s'" % \ |
| 198 | (name, package_qa_clean_path(path,d))) | 198 | (name, package_qa_clean_path(path, d, name))) |
| 199 | 199 | ||
| 200 | QAPATHTEST[staticdev] = "package_qa_check_staticdev" | 200 | QAPATHTEST[staticdev] = "package_qa_check_staticdev" |
| 201 | def package_qa_check_staticdev(path, name, d, elf, messages): | 201 | def package_qa_check_staticdev(path, name, d, elf, messages): |
| @@ -208,7 +208,7 @@ def package_qa_check_staticdev(path, name, d, elf, messages): | |||
| 208 | 208 | ||
| 209 | 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: | 209 | 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 | package_qa_add_message(messages, "staticdev", "non -staticdev package contains static .a library: %s path '%s'" % \ | 210 | package_qa_add_message(messages, "staticdev", "non -staticdev package contains static .a library: %s path '%s'" % \ |
| 211 | (name, package_qa_clean_path(path,d))) | 211 | (name, package_qa_clean_path(path,d, name))) |
| 212 | 212 | ||
| 213 | QAPATHTEST[mime] = "package_qa_check_mime" | 213 | QAPATHTEST[mime] = "package_qa_check_mime" |
| 214 | def package_qa_check_mime(path, name, d, elf, messages): | 214 | def package_qa_check_mime(path, name, d, elf, messages): |
