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

login
register
mail settings
Submitter Paul Eggleton
Date April 5, 2013, 3:55 p.m.
Message ID <1365177352-19056-1-git-send-email-paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/47509/
State Accepted
Commit b684c0f0d5d93f5147dee79951647eb3ddf4c840
Headers show

Comments

Paul Eggleton - April 5, 2013, 3:55 p.m.
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>
---
 meta/lib/oe/classextend.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index c37a896..e2ae7e9 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