summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 29b63806e6..bd4b7bcf4c 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -35,6 +35,8 @@ XZ_COMPRESSION_LEVEL ?= "-e -9"
35XZ_INTEGRITY_CHECK ?= "crc32" 35XZ_INTEGRITY_CHECK ?= "crc32"
36 36
37IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}" 37IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}"
38IMAGE_CMD_sum.jffs2 = "${IMAGE_CMD_jffs2} && sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
39 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sum.jffs2 ${EXTRA_IMAGECMD}"
38 40
39IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" 41IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}"
40 42
@@ -138,6 +140,7 @@ EXTRA_IMAGECMD_btrfs ?= ""
138 140
139IMAGE_DEPENDS = "" 141IMAGE_DEPENDS = ""
140IMAGE_DEPENDS_jffs2 = "mtd-utils-native" 142IMAGE_DEPENDS_jffs2 = "mtd-utils-native"
143IMAGE_DEPENDS_sum.jffs2 = "mtd-utils-native"
141IMAGE_DEPENDS_cramfs = "cramfs-native" 144IMAGE_DEPENDS_cramfs = "cramfs-native"
142IMAGE_DEPENDS_ext2 = "genext2fs-native" 145IMAGE_DEPENDS_ext2 = "genext2fs-native"
143IMAGE_DEPENDS_ext2.gz = "genext2fs-native" 146IMAGE_DEPENDS_ext2.gz = "genext2fs-native"
@@ -157,4 +160,4 @@ IMAGE_DEPENDS_ubi = "mtd-utils-native"
157IMAGE_DEPENDS_ubifs = "mtd-utils-native" 160IMAGE_DEPENDS_ubifs = "mtd-utils-native"
158 161
159# This variable is available to request which values are suitable for IMAGE_FSTYPES 162# This variable is available to request which values are suitable for IMAGE_FSTYPES
160IMAGE_TYPES = "jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma" 163IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma"