[OE-core] [PATCH] bootimg.bbclass: make default KERNEL_IMAGETYPE match kernel.bbclass

Andre McCurdy armccurdy at gmail.com
Thu Nov 12 04:44:09 UTC 2015


kernel.bbclass uses a default KERNEL_IMAGETYPE of zImage and that's also
the default mentioned in documentation.conf. Update the bootimg.bbclass
default value from bzImage -> zImage to be consistent.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/classes/bootimg.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index ec9d0b7..6728e0e 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -47,7 +47,7 @@ EFI = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "1", "0", d)}"
 EFI_PROVIDER ?= "grub-efi"
 EFI_CLASS = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}", "", d)}"
 
-KERNEL_IMAGETYPE ??= "bzImage"
+KERNEL_IMAGETYPE ??= "zImage"
 
 # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not
 # contain "efi". This way legacy is supported by default if neither is
-- 
1.9.1




More information about the Openembedded-core mailing list