]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: skip checks on .la installed status
authorScott Garman <scott.a.garman@intel.com>
Thu, 6 Jan 2011 16:19:36 +0000 (08:19 -0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 21 Jan 2011 09:36:15 +0000 (01:36 -0800)
Enabling libtool sysroot support triggers these errors but they
are a valid change in behavior.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
meta/classes/insane.bbclass

index 3ab4c2ce3ac4915040d6c857fcfb8386e0993036..6f06d854e71ada9b185bc91d71fecae56d562a3b 100644 (file)
@@ -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)