insane.bbclass: on check for references to WORKDIR in RPATH, instead of WORKDIR and...
authorKoen Kooi <koen@openembedded.org>
Sat, 5 May 2007 16:34:06 +0000 (16:34 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 5 May 2007 16:34:06 +0000 (16:34 +0000)
[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.

classes/insane.bbclass

index 30b164b..b39ac13 100644 (file)
@@ -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):