diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-04-27 00:12:23 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-04-27 00:12:23 +0000 |
commit | 7e8aca6f9c3cedf040cd58e4f565361bfcded9f9 (patch) | |
tree | 0716289dd93b337866bda347e8f1d7cd8fad5d14 | |
parent | 5da8ac500c38c2a0f7c2d7f104061be482c7b7d2 (diff) |
insane.bbclass: Re-add -B to scanelf to make it correctly check single RPATH occurences.
-rw-r--r-- | classes/insane.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 7454957e5b..30b164b734 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -213,10 +213,12 @@ def package_qa_check_rpath(file,name,d): if not bad_dir in bb.data.getVar('WORKDIR', d, True): bb.fatal("This class assumed that WORKDIR is ${TMPDIR}/work... Not doing any check") - #bb.note("%s -F%%r#F %s" % (scanelf,file)) - output = os.popen("%s -F%%r#F %s" % (scanelf,file)) + #bb.note("%s -B -F%%r#F %s" % (scanelf,file)) + output = os.popen("%s -B -F%%r#F %s" % (scanelf,file)) txt = output.readline().split() + #bb.note("???%s???" % bad_dir_test) for line in txt: + #bb.note("===%s===" % line) if bad_dir_test 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)) |