]> code.ossystems Code Review - openembedded-core.git/commitdiff
multilib.bbclass: fix Multilib QA Issue
authorMing Liu <ming.liu@windriver.com>
Tue, 28 Jan 2014 07:31:15 +0000 (15:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 11:40:46 +0000 (11:40 +0000)
Multilib QA warning was observed, as follows:
------
WARNING: Multilib QA Issue: lib32-oprofile package lib32-oprofile -
suspicious values 'kernel-vmlinux' in RRECOMMENDS
------

The package starting with 'kernel-vmlinux' should be ok with multilib QA
checking.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass

index 5eb4a7ba86b6e3919bceb563baa4d2b1995cbc58..9a1cb1d91644cfa22009bfa59f41c3e470196610 100644 (file)
@@ -120,7 +120,7 @@ python do_package_qa_multilib() {
                 i = i[len('virtual/'):]
             if (not i.startswith('kernel-module')) and (not i.startswith(mlprefix)) and \
                 (not 'cross-canadian' in i) and (not i.startswith("nativesdk-")) and \
-                (not i.startswith("rtld")):
+                (not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')):
                 candidates.append(i)
         if len(candidates) > 0:
             bb.warn("Multilib QA Issue: %s package %s - suspicious values '%s' in %s"