summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-09-21 22:39:50 +0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-22 05:12:29 +0100
commit1b449dd0b0dd462e8cc7da263a2e71e429b87e9a (patch)
tree01e5d5caf89d800ff819c574ef0947a1e29ae031 /meta/classes/insane.bbclass
parent72ff0c54b990e67811520ff8c4e9ee6fb0df7981 (diff)
downloadpoky-1b449dd0b0dd462e8cc7da263a2e71e429b87e9a.tar.gz
insane.bbclass: don't warn on .so files in -nativesdk packages
There is no point in warning against .so symlinks in -nativesdk packages. They have to contain such links, so shut up the warning. (From OE-Core rev: 287d02a731e45ce5d843db1fd4d78ba17e9ed487) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index a660a06976..addb9ac2d5 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -179,8 +179,8 @@ def package_qa_check_dev(path, name, d, elf, messages):
179 Check for ".so" library symlinks in non-dev packages 179 Check for ".so" library symlinks in non-dev packages
180 """ 180 """
181 181
182 if not name.endswith("-dev") and not name.endswith("-dbg") and path.endswith(".so") and os.path.islink(path): 182 if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-nativesdk") and path.endswith(".so") and os.path.islink(path):
183 messages.append("non -dev/-dbg package contains symlink .so: %s path '%s'" % \ 183 messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \
184 (name, package_qa_clean_path(path,d))) 184 (name, package_qa_clean_path(path,d)))
185 185
186QAPATHTEST[debug-files] = "package_qa_check_dbg" 186QAPATHTEST[debug-files] = "package_qa_check_dbg"