summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-01-06 08:19:36 -0800
committerSaul Wold <sgw@linux.intel.com>2011-01-21 01:36:15 -0800
commit6656381714c5956f71ca634f5a5f4aa4661bbf7e (patch)
treeab4373d14400eb077411c24b62ebf782c94ed5fb /meta/classes/insane.bbclass
parent14770205c1de2753f10cbb0d0703113aefb21a73 (diff)
downloadpoky-6656381714c5956f71ca634f5a5f4aa4661bbf7e.tar.gz
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 <scott.a.garman@intel.com>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass5
1 files changed, 0 insertions, 5 deletions
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):
427 path = os.path.join(root,file) 427 path = os.path.join(root,file)
428 if file.endswith(".la"): 428 if file.endswith(".la"):
429 file_content = open(path).read() 429 file_content = open(path).read()
430 # Don't check installed status for native/cross packages
431 if not bb.data.inherits_class("native", d) and not bb.data.inherits_class("cross", d):
432 if installed in file_content:
433 error_msg = "%s failed sanity test (installed) in path %s" % (file,root)
434 sane = package_qa_handle_error(5, error_msg, "staging", path, d)
435 if workdir in file_content: 430 if workdir in file_content:
436 error_msg = "%s failed sanity test (workdir) in path %s" % (file,root) 431 error_msg = "%s failed sanity test (workdir) in path %s" % (file,root)
437 sane = package_qa_handle_error(8, error_msg, "staging", path, d) 432 sane = package_qa_handle_error(8, error_msg, "staging", path, d)