mirror of
https://git.yoctoproject.org/poky
synced 2026-07-17 04:07:06 +00:00
multilib: skip packages that provide virtual/kernel
Rather than keying on recipes that inherit kernel.bbclass, we should be checking for providers of virtual/kernel when skipping kernel recipes in multlib builds. Not all providers of virtual/kernel inherit kernel.bbclass (notably linux-dummy), so checking on the provider is a more complete check. We need to be sure to check for inheritance of module-base as well, this allows for packages that provides modules to avoid the multilib renaming. (From OE-Core rev: 036bf4dd800147f18b9b1451061e7e7a794300a7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6798c0ef23
commit
18285be0df
@@ -5,7 +5,7 @@ class ClassExtender(object):
|
||||
self.pkgs_mapping = []
|
||||
|
||||
def extend_name(self, name):
|
||||
if name.startswith("kernel-module"):
|
||||
if name.startswith("kernel-module") or name == "virtual/kernel":
|
||||
return name
|
||||
if name.startswith("rtld"):
|
||||
return name
|
||||
|
||||
Reference in New Issue
Block a user