From 539b0f853acf8d142a08685e1e02dd87e8be59f6 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 22 Jan 2007 19:41:29 +0000 Subject: 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 --- meta/classes/insane.bbclass | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'meta/classes/insane.bbclass') 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) - } -- cgit v1.2.3-54-g00ecf