mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 04:57:15 +00:00
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
This commit is contained in:
1 parent
ae28b7fed9
commit
6e6fdde69b
1 file changed
+3
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user