summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold Csorvasi <arnold.csorvasi@ni.com>2016-02-10 11:44:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:27:29 +0000
commit8376fa3d4ef6175b83ab7f1ec8e4e20ec14964f4 (patch)
tree73d8674d9b90bfe07807c7908fae45c07498dbdd
parent2bd518fe3a8cb0022a816a7d1ac8d9a3dedee6d9 (diff)
downloadopenembedded-core-8376fa3d4ef6175b83ab7f1ec8e4e20ec14964f4.tar.gz
openembedded-core-8376fa3d4ef6175b83ab7f1ec8e4e20ec14964f4.tar.bz2
openembedded-core-8376fa3d4ef6175b83ab7f1ec8e4e20ec14964f4.zip
image_types_uboot: add cpio.gz.uboot to supported IMAGE_TYPES
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>
-rw-r--r--meta/classes/image_types_uboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass
index 081bca2cc9..19e4aa2e47 100644
--- a/meta/classes/image_types_uboot.bbclass
+++ b/meta/classes/image_types_uboot.bbclass
@@ -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"