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 | |
parent | ae28b7fed99ab48cc3b05cd57ee38faaea50fb5c (diff) | |
download | poky-6e6fdde69b1f4ab5d37b77312f0bb029211381d5.tar.gz |
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')
-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): | |||
48 | non dev packages containing | 48 | non dev packages containing |
49 | """ | 49 | """ |
50 | 50 | ||
51 | import bb | 51 | import bb, os |
52 | if not "-dev" in name: | 52 | if not "-dev" in name: |
53 | if path[-3:] == ".so": | 53 | if path[-3:] == ".so" and os.path.islink(path): |
54 | bb.fatal("QA Issue: non dev package contains .so: %s" % name) | 54 | bb.fatal("QA Issue: non dev package contains symlink .so: %s" % name) |
55 | 55 | ||
56 | if not "-dbg" in name: | 56 | if not "-dbg" in name: |
57 | if '.debug' in path: | 57 | if '.debug' in path: |