kernel module QA warning fixes
cover kernel module QA warning fixes
The following change since commit e66c2999afa2b3efbce8bb46c89f9db5e15f35c7:
libx11: ensure nativesdk uses correct DEPENDS and XCB flags (2011-07-10 09:49:06 +0100)
is available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/kernel-insane
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/kernel-insane
Paul Eggleton (1):
insane.bbclass: skip rdepends QA checks for kernel / modules
meta/classes/insane.bbclass | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.4.1
PATCH 1/1 insane.bbclass: skip rdepends QA checks for kernel / modules
The kernel and module recipes have very few dbg/dev packages, however they can easily have false positive results from the rdepends QA checks (e.g. kernel-module-lirc-dev). Thus disable these tests for any recipe that inherits kernel or module-base.
--- meta/classes/insane.bbclass | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
meta/classes/insane.bbclass +5 -0
@@ -416,6 +416,11 @@ def package_qa_walk(path, warnfuncs, errorfuncs, skip, package, d): return len(errors) == 0 def package_qa_check_rdepends(pkg, pkgdest, skip, d): + # Don't do this check for kernel/module recipes, there aren't too many debug/development + # packages and you can get false positives e.g. on kernel-module-lirc-dev + if bb.data.inherits_class("kernel", d) or bb.data.inherits_class("module-base", d): + return True + sane = True if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg: # Copied from package_ipk.bbclass
Signature · 1 line
1.7.4.1
Richard Purdie
AppliedRe: [PATCH 1/1] insane.bbclass: skip rdepends QA checks for kernel / modules
Quoted 9 lines · Paul Eggleton
The kernel and module recipes have very few dbg/dev packages, however they can easily have false positive results from the rdepends QA checks (e.g. kernel-module-lirc-dev). Thus disable these tests for any recipe that inherits kernel or module-base.
Signed-off-by Paul Eggleton <[email protected]>--- meta/classes/insane.bbclass | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
Merged to master, thanks.
Richard