]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: don't warn on .so files in -nativesdk packages
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 21 Sep 2011 18:39:50 +0000 (22:39 +0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2011 04:09:49 +0000 (05:09 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass

index a660a0697658af12645d9780083e6f6b64fc9e90..addb9ac2d5ce2a718f3214f134aa975f79f3c22e 100644 (file)
@@ -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"