[oe-commits] [openembedded-core] 15/39: kernel.bbclass: Use real filenames in kernel packages

git at git.openembedded.org git at git.openembedded.org
Thu Dec 8 10:33:13 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit aa189f183e10588f7e8d642f351bd9b8d69f3ea9
Author: Andreas Oberritter <obi at opendreambox.org>
AuthorDate: Thu Dec 1 00:36:48 2016 +0100

    kernel.bbclass: Use real filenames in kernel packages
    
    When iterating over kernel image types to set up their packaging
    variables, don't use make targets but the real names.
    
    It was surprising if both vmlinux.bin and vmlinux.gz were enabled
    and only the latter had its filename extension removed from the
    package name.
    
    Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 71d543b..0cc8af6 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -43,7 +43,7 @@ python __anonymous () {
     typeformake = re.sub(r'\.gz', '', types)
     d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake)
 
-    for type in typeformake.split():
+    for type in types.split():
         typelower = type.lower()
 
         d.appendVar('PACKAGES', ' ' + 'kernel-image-' + typelower)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list