mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
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. (From OE-Core rev: 7a383f8ae8433c14b6995966216b9e6e81ea6a51) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5275297b93
commit
7354fc9213
@@ -416,6 +416,11 @@ def package_qa_walk(path, warnfuncs, errorfuncs, skip, package, d):
|
|||||||
return len(errors) == 0
|
return len(errors) == 0
|
||||||
|
|
||||||
def package_qa_check_rdepends(pkg, pkgdest, skip, d):
|
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
|
sane = True
|
||||||
if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg:
|
if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg:
|
||||||
# Copied from package_ipk.bbclass
|
# Copied from package_ipk.bbclass
|
||||||
|
|||||||
Reference in New Issue
Block a user