summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-05 16:55:52 +0100
committerRoss Burton <ross.burton@intel.com>2013-04-30 11:06:27 +0100
commit26dc1d726387c76adbfb9df19c18daee10ab636c (patch)
tree6b83dad549e144d6f1f2762eaf91a160198da324
parent8f8c5da07b3431e5a0838034084ce2f8e09762e3 (diff)
downloadopenembedded-core-26dc1d726387c76adbfb9df19c18daee10ab636c.tar.gz
openembedded-core-26dc1d726387c76adbfb9df19c18daee10ab636c.tar.bz2
openembedded-core-26dc1d726387c76adbfb9df19c18daee10ab636c.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>
-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 259f3a5186..81d25d7d1b 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