summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-05 16:55:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-05 17:35:04 +0100
commitb684c0f0d5d93f5147dee79951647eb3ddf4c840 (patch)
tree925a5c8d9f757484865dab236a153eb340f849c6 /meta/lib
parent78f91e08c8a7b0f0c831a087f7c89e2c76047e7a (diff)
downloadopenembedded-core-b684c0f0d5d93f5147dee79951647eb3ddf4c840.tar.gz
openembedded-core-b684c0f0d5d93f5147dee79951647eb3ddf4c840.tar.bz2
openembedded-core-b684c0f0d5d93f5147dee79951647eb3ddf4c840.zip
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.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/classextend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index c37a8963c5..e2ae7e9f94 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -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