summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-04-26 16:42:07 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-04-26 16:42:07 +0000
commit908abeae497d81c0afd6381c08311aa45555157b (patch)
treea369973543d3d1aec4c8d1a601e52f9b25d600f7 /classes
parent2497c24bd1bee25d1ef9fb3eaff88624e5068293 (diff)
insane.bbclass: Fix check for bad RPATHs. This is gonna break builds. Needs fixes in the shared library handling.
Diffstat (limited to 'classes')
-rw-r--r--classes/insane.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 8ef4858aa4..15e2061239 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -210,11 +210,11 @@ def package_qa_check_rpath(file,name,d):
output = os.popen("%s -Byr %s" % (scanelf,file))
txt = output.readline().split()
- if bad_dir in txt:
- package_qa_write_error( 1, name, file, d)
- bb.error("QA Issue package %s contains bad RPATH %s in file %s" % (name, txt, file))
- return False
-
+ for line in txt:
+ if bad_dir in 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))
+ return False
return True
def package_qa_check_devdbg(path, name,d):