[oe-commits] Dmitry Eremin-Solenikov : insane.bbclass: don't warn on . so files in -nativesdk packages

git version control git at git.openembedded.org
Thu Sep 22 04:13:08 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 287d02a731e45ce5d843db1fd4d78ba17e9ed487
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=287d02a731e45ce5d843db1fd4d78ba17e9ed487

Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Wed Sep 21 22:39:50 2011 +0400

insane.bbclass: don't warn on .so files in -nativesdk packages

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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/insane.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index a660a06..addb9ac 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -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"





More information about the Openembedded-commits mailing list