Skip to contentSkip to conversation

kernel module QA warning fixes

PATCH Applied Paul Eggleton 2 participants 3 messages Jul 12, 2011

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index c1db1ca..aedd55c 100644
@@ -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
#2 lore raw

Re: [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.

---
 meta/classes/insane.bbclass |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard