summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-05 16:34:06 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-05 16:34:06 +0000
commit6701d4dcba6e603f861418cc8d309079bddde001 (patch)
tree3151617cf6168514f3dbce2290f2d096b6664918
parent97869ccc886d6153dccea808949d619f37eeebfe (diff)
insane.bbclass: on check for references to WORKDIR in RPATH, instead of WORKDIR and STAGING
[18:23] likewise: would be my proposed fix for now, until we figure out if cross tooling need to RPATH to it's own libs.
-rw-r--r--classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 30b164b734..b39ac130a7 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -219,12 +219,12 @@ def package_qa_check_rpath(file,name,d):
#bb.note("???%s???" % bad_dir_test)
for line in txt:
#bb.note("===%s===" % line)
- if bad_dir_test in line:
+ if bad_dirin line:
package_qa_write_error( 1, name, file, d)
bb.error("QA Issue package %s contains bad RPATH %s in file %s" % (name, line, file))
#bb.note("Fixing RPATH for you in %s" % file)
#os.popen("%s -r /lib %s" % (chrpath,file))
- return False
+ return True
return True
def package_qa_check_devdbg(path, name,d):