lib/oe/classextend.py: avoid extending any kernel package

For multilib and other uses of classextend, we don't want any
dependencies on kernel packages to be extended since there should only
be one kernel variant.

Fixes [YOCTO #2918] (where kernel-dev was being extended.)

(From OE-Core rev: 26dc1d726387c76adbfb9df19c18daee10ab636c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton authored and Richard Purdie committed 2013-05-08 12:03:16 +01:00
1 parent 8927dba785
commit ae8e10beb5
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ class ClassExtender(object):
self.pkgs_mapping = []
def extend_name(self, name):
if name.startswith("kernel-module") or name == "virtual/kernel":
if name.startswith("kernel-") or name == "virtual/kernel":
return name
if name.startswith("rtld"):
return name