diff options
author | Ross Burton <ross@openedhand.com> | 2007-01-22 17:04:39 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-01-22 17:04:39 +0000 |
commit | 6e6fdde69b1f4ab5d37b77312f0bb029211381d5 (patch) | |
tree | 7f7b2f9a3ed048ff8ab6669711649921b121a3ea /meta/classes | |
parent | ae28b7fed99ab48cc3b05cd57ee38faaea50fb5c (diff) | |
download | openembedded-core-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.tar.gz openembedded-core-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.tar.bz2 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
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/insane.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 5912ae494e..acb0f34b93 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: |