Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] kernel module QA warning fixes
@ 2011-07-12 13:29 Paul Eggleton
  2011-07-12 13:29 ` [PATCH 1/1] insane.bbclass: skip rdepends QA checks for kernel / modules Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-07-12 13:29 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] insane.bbclass: skip rdepends QA checks for kernel / modules
  2011-07-12 13:29 [PATCH 0/1] kernel module QA warning fixes Paul Eggleton
@ 2011-07-12 13:29 ` Paul Eggleton
  2011-07-12 14:22   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-07-12 13:29 UTC (permalink / raw)
  To: openembedded-core

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 <paul.eggleton@linux.intel.com>
---
 meta/classes/insane.bbclass |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index c1db1ca..aedd55c 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -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
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] insane.bbclass: skip rdepends QA checks for kernel / modules
  2011-07-12 13:29 ` [PATCH 1/1] insane.bbclass: skip rdepends QA checks for kernel / modules Paul Eggleton
@ 2011-07-12 14:22   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-07-12 14:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-07-12 at 14:29 +0100, Paul Eggleton wrote:
> 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 <paul.eggleton@linux.intel.com>
> ---
>  meta/classes/insane.bbclass |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-12 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 13:29 [PATCH 0/1] kernel module QA warning fixes Paul Eggleton
2011-07-12 13:29 ` [PATCH 1/1] insane.bbclass: skip rdepends QA checks for kernel / modules Paul Eggleton
2011-07-12 14:22   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox