summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-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):
51 import bb, os 51 import bb, os
52 if not "-dev" in name: 52 if not "-dev" in name:
53 if path[-3:] == ".so" and os.path.islink(path): 53 if path[-3:] == ".so" and os.path.islink(path):
54 bb.fatal("QA Issue: non dev package contains symlink .so: %s" % name) 54 bb.fatal("QA Issue: non -dev package %s contains symlink .so: %s" % name)
55 55
56 if not "-dbg" in name: 56 if not "-dbg" in name:
57 if '.debug' in path: 57 if '.debug' in path:
58 bb.fatal("QA Issue: non debug package contains .debug directory: %s" % name) 58 bb.fatal("QA Issue: non -dbg package contains .debug directory: %s" % name)
59 59
60def package_qa_check_perm(path,name,d): 60def package_qa_check_perm(path,name,d):
61 """ 61 """
@@ -88,7 +88,7 @@ def package_qa_walk(path, funcs, package,d):
88 for file in files: 88 for file in files:
89 path = os.path.join(root,file) 89 path = os.path.join(root,file)
90 for func in funcs: 90 for func in funcs:
91 func(path, package,d) 91 func(path, package, d)
92 92
93 93
94def package_qa_check_rdepends(pkg, workdir, d): 94def package_qa_check_rdepends(pkg, workdir, d):
@@ -134,11 +134,19 @@ python do_package_qa () {
134 return 134 return
135 135
136 for package in packages.split(): 136 for package in packages.split():
137 # Nasty hack for now until we can mark exclusions in the packages.
138 # db has a unusual versioning scheme. Cannot fix this.
139 # gcc contains symlinks to other packages. Cannot fix.
140 # elfutils has symlinks to point to correct .so files. Cannot fix.
141 # networkmanager needs to be split into app/lib packages. Can fix.
142 if package in [ 'db', 'gcc', 'elfutils', 'networkmanager' ]:
143 bb.note("Package: %s (skipped)" % package)
144 continue
145
137 bb.note("Package: %s" % package) 146 bb.note("Package: %s" % package)
138 path = "%s/install/%s" % (workdir, package) 147 path = "%s/install/%s" % (workdir, package)
139 package_qa_walk(path, [package_qa_check_rpath, package_qa_check_devdbg, package_qa_check_perm, package_qa_check_arch], package, d) 148 package_qa_walk(path, [package_qa_check_rpath, package_qa_check_devdbg, package_qa_check_perm, package_qa_check_arch], package, d)
140 package_qa_check_rdepends(package, workdir, d) 149 package_qa_check_rdepends(package, workdir, d)
141
142} 150}
143 151
144 152