mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01: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:
@@ -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