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: b684c0f0d5d93f5147dee79951647eb3ddf4c840)

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-04-05 17:36:34 +01:00
1 parent 1872ee316b
commit 9e9ea0a40a
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