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:41:21 +0000 (11:41 +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.

(From OE-Core rev: 00012b63fefd77c57169f7cc06d648f54890e5df)

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

index 5eb4a7b..9a1cb1d 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"