summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-01-22 17:04:39 +0000
committerRoss Burton <ross@openedhand.com>2007-01-22 17:04:39 +0000
commit6e6fdde69b1f4ab5d37b77312f0bb029211381d5 (patch)
tree7f7b2f9a3ed048ff8ab6669711649921b121a3ea
parentae28b7fed99ab48cc3b05cd57ee38faaea50fb5c (diff)
downloadopenembedded-core-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.tar.gz
openembedded-core-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.tar.bz2
openembedded-core-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.tar.xz
openembedded-core-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.zip
When checking for .so files in non-dev packages, only check for .so symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1195 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/insane.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 5912ae494..acb0f34b9 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -48,10 +48,10 @@ def package_qa_check_devdbg(path, name,d):
non dev packages containing
"""
- import bb
+ import bb, os
if not "-dev" in name:
- if path[-3:] == ".so":
- bb.fatal("QA Issue: non dev package contains .so: %s" % name)
+ if path[-3:] == ".so" and os.path.islink(path):
+ bb.fatal("QA Issue: non dev package contains symlink .so: %s" % name)
if not "-dbg" in name:
if '.debug' in path: