summaryrefslogtreecommitdiff
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-01-22 19:41:29 +0000
committerRoss Burton <ross@openedhand.com>2007-01-22 19:41:29 +0000
commit539b0f853acf8d142a08685e1e02dd87e8be59f6 (patch)
treebe16f4f3f329f3527ebcf185f4127690a658d252 /meta/classes/insane.bbclass
parent6e6fdde69b1f4ab5d37b77312f0bb029211381d5 (diff)
downloadopenembedded-core-539b0f853acf8d142a08685e1e02dd87e8be59f6.tar.gz
openembedded-core-539b0f853acf8d142a08685e1e02dd87e8be59f6.tar.bz2
openembedded-core-539b0f853acf8d142a08685e1e02dd87e8be59f6.zip
Add exclude list for now, until insane can handle per-package exclusions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1196 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index acb0f34b93..b3fc72a465 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -51,11 +51,11 @@ def package_qa_check_devdbg(path, name,d):
import bb, os
if not "-dev" in name:
if path[-3:] == ".so" and os.path.islink(path):
- bb.fatal("QA Issue: non dev package contains symlink .so: %s" % name)
+ bb.fatal("QA Issue: non -dev package %s contains symlink .so: %s" % name)
if not "-dbg" in name:
if '.debug' in path:
- bb.fatal("QA Issue: non debug package contains .debug directory: %s" % name)
+ bb.fatal("QA Issue: non -dbg package contains .debug directory: %s" % name)
def package_qa_check_perm(path,name,d):
"""
@@ -88,7 +88,7 @@ def package_qa_walk(path, funcs, package,d):
for file in files:
path = os.path.join(root,file)
for func in funcs:
- func(path, package,d)
+ func(path, package, d)
def package_qa_check_rdepends(pkg, workdir, d):
@@ -134,11 +134,19 @@ python do_package_qa () {
return
for package in packages.split():
+ # Nasty hack for now until we can mark exclusions in the packages.
+ # db has a unusual versioning scheme. Cannot fix this.
+ # gcc contains symlinks to other packages. Cannot fix.
+ # elfutils has symlinks to point to correct .so files. Cannot fix.
+ # networkmanager needs to be split into app/lib packages. Can fix.
+ if package in [ 'db', 'gcc', 'elfutils', 'networkmanager' ]:
+ bb.note("Package: %s (skipped)" % package)
+ continue
+
bb.note("Package: %s" % package)
path = "%s/install/%s" % (workdir, package)
package_qa_walk(path, [package_qa_check_rpath, package_qa_check_devdbg, package_qa_check_perm, package_qa_check_arch], package, d)
package_qa_check_rdepends(package, workdir, d)
-
}