From: Scott Garman Date: Thu, 6 Jan 2011 16:19:36 +0000 (-0800) Subject: insane.bbclass: skip checks on .la installed status X-Git-Tag: 2011-1~2776 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6656381714c5956f71ca634f5a5f4aa4661bbf7e;p=openembedded-core.git insane.bbclass: skip checks on .la installed status Enabling libtool sysroot support triggers these errors but they are a valid change in behavior. Signed-off-by: Scott Garman --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 3ab4c2ce3a..6f06d854e7 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -427,11 +427,6 @@ def package_qa_check_staged(path,d): path = os.path.join(root,file) if file.endswith(".la"): file_content = open(path).read() - # Don't check installed status for native/cross packages - if not bb.data.inherits_class("native", d) and not bb.data.inherits_class("cross", d): - if installed in file_content: - error_msg = "%s failed sanity test (installed) in path %s" % (file,root) - sane = package_qa_handle_error(5, error_msg, "staging", path, d) if workdir in file_content: error_msg = "%s failed sanity test (workdir) in path %s" % (file,root) sane = package_qa_handle_error(8, error_msg, "staging", path, d)