summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-02-22 16:56:18 +0000
committerKoen Kooi <koen@openembedded.org>2007-02-22 16:56:18 +0000
commitdc3d882572ed32a33d61e9baf6a39dfd09c12f71 (patch)
treefb32dae12cd964590c3daa273530ed058b125460 /classes/insane.bbclass
parentf276af8cdf060a01b0c6502437fed0f52de663e1 (diff)
insane.bbclass: only check for workdir in .pc files, we already forcefully sed out /usr/include references
Diffstat (limited to 'classes/insane.bbclass')
-rw-r--r--classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index ed6d4d0642..a3ca21d1dc 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -317,8 +317,8 @@ def package_qa_check_staged(path,d):
sane = True
elif file[-2:] == "pc":
file_content = open(path).read()
- if "/usr/include" in file_content or workdir in file_content:
- bb.error("QA issue: %s failed sanity test (reference to /usr/include or workdir)" % file )
+ if workdir in file_content:
+ bb.error("QA issue: %s failed sanity test (reference to workdir)" % file )
if package_qa_make_fatal_error( 6, "staging", path, d):
sane = False