]> code.ossystems Code Review - openembedded-core.git/commitdiff
multilib.bbclass: fix do_package_qa_multilib error
authorChangqing Li <changqing.li@windriver.com>
Sat, 29 Sep 2018 09:27:51 +0000 (17:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Oct 2018 12:04:44 +0000 (13:04 +0100)
lib32-packagegroup-anaconda-support have RDEPENDS to kernel-image,
but kernel-image don't have lib32, so skip it.

ERROR: QA Issue: lib32-packagegroup-anaconda-support package
lib32-packagegroup-anaconda-support - suspicious values 'kernel-image'
in RDEPENDS [multilib]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass

index e7b717eee10635f932f5ae6eee5ef42674a76926..db39e02d427c9448bb40107e8ee8dda5833cc547 100644 (file)
@@ -135,7 +135,8 @@ 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")) and (not i.startswith('kernel-vmlinux')):
+                (not i.startswith("rtld")) and (not i.startswith('kernel-vmlinux')) \
+                and (not i.startswith("kernel-image")):
                 candidates.append(i)
         if len(candidates) > 0:
             msg = "%s package %s - suspicious values '%s' in %s" \