[03/17] insane.bbclass: don't warn on .so files in -nativesdk packages
Submitted by lumag on Sept. 21, 2011, 6:39 p.m.
|
Patch ID: 11889
Details
Commit Message
@@ -179,8 +179,8 @@ def package_qa_check_dev(path, name, d, elf, messages):
Check for ".so" library symlinks in non-dev packages
"""
- if not name.endswith("-dev") and not name.endswith("-dbg") and path.endswith(".so") and os.path.islink(path):
- messages.append("non -dev/-dbg package contains symlink .so: %s path '%s'" % \
+ if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-nativesdk") and path.endswith(".so") and os.path.islink(path):
+ messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \
(name, package_qa_clean_path(path,d)))
QAPATHTEST[debug-files] = "package_qa_check_dbg"
There is no point in warning against .so symlinks in -nativesdk packages. They have to contain such links, so shut up the warning. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> --- meta/classes/insane.bbclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)