]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types_uboot: add cpio.gz.uboot to supported IMAGE_TYPES
authorArnold Csorvasi <arnold.csorvasi@ni.com>
Wed, 10 Feb 2016 09:44:52 +0000 (11:44 +0200)
committerJoshua Lock <joshua.g.lock@intel.com>
Thu, 3 Mar 2016 11:04:48 +0000 (11:04 +0000)
U-Boot needs the U-Boot header in a ramdisk image to boot it.
Add this header to the cpio.gz image, so that it can be booted
with U-Boot.

Signed-off-by: Arnold Csorvasi <arnold.csorvasi@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(From OE-Core master rev: 8376fa3d4ef6175b83ab7f1ec8e4e20ec14964f4)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/classes/image_types_uboot.bbclass

index 081bca2cc9a050b2e7ec6c9cb4ece83a8e76bb94..19e4aa2e478508c0ed72a72aca1672c129d6f8d4 100644 (file)
@@ -22,5 +22,5 @@ COMPRESS_CMD_bz2.u-boot      = "${COMPRESS_CMD_bz2}; oe_mkimage ${IMAGE_NAME}.ro
 COMPRESS_DEPENDS_lzma.u-boot = "u-boot-mkimage-native"
 COMPRESS_CMD_lzma.u-boot      = "${COMPRESS_CMD_lzma}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.lzma lzma clean"
 
-IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot"
+IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot cpio.gz.u-boot"