git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f276af8
)
insane.bbclass: only check for workdir in .pc files, we already forcefully sed out...
author
Koen Kooi
<koen@openembedded.org>
Thu, 22 Feb 2007 16:56:18 +0000
(16:56 +0000)
committer
Koen Kooi
<koen@openembedded.org>
Thu, 22 Feb 2007 16:56:18 +0000
(16:56 +0000)
classes/insane.bbclass
patch
|
blob
|
history
diff --git
a/classes/insane.bbclass
b/classes/insane.bbclass
index
ed6d4d0
..
a3ca21d
100644
(file)
--- 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