summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/classextend.py
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:36:34 +0100
commit9e9ea0a40afbea66e35deb6e28dfeb726a3e62c0 (patch)
treea936d7607dc7a9e1269acda769a8d9190be649cb /meta/lib/oe/classextend.py
parent1872ee316b77926d2b9ede27f9d428a3b2a8b3fe (diff)
downloadpoky-9e9ea0a40afbea66e35deb6e28dfeb726a3e62c0.tar.gz
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>
Diffstat (limited to 'meta/lib/oe/classextend.py')
-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):
5 self.pkgs_mapping = [] 5 self.pkgs_mapping = []
6 6
7 def extend_name(self, name): 7 def extend_name(self, name):
8 if name.startswith("kernel-module") or name == "virtual/kernel": 8 if name.startswith("kernel-") or name == "virtual/kernel":
9 return name 9 return name
10 if name.startswith("rtld"): 10 if name.startswith("rtld"):
11 return name 11 return name