[oe] [PATCH] insane.bbclass: fix the check for bad RPATH
Denys Dmytriyenko
denis at denix.org
Thu Feb 3 07:00:21 UTC 2011
* Variable 'sane' is boolean, so adding to it breaks the error condition
* Fixes previous commit 6aa31074 ported from Yocto
Signed-off-by: Denys Dmytriyenko <denis at denix.org>
---
classes/insane.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 50752b5..a846832 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -174,7 +174,7 @@ def package_qa_check_rpath(file,name,d, elf):
for dir in bad_dirs:
if dir in line:
error_msg = "package %s contains bad RPATH %s in file %s" % (name, line, file)
- sane = sane + package_qa_handle_error(1, error_msg, name, file, d)
+ sane = package_qa_handle_error(1, error_msg, name, file, d)
return sane
--
1.7.4
More information about the Openembedded-devel
mailing list