summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image_types.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 99a07da0fc..d298897268 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -63,6 +63,7 @@ IMAGE_CMD_btrfs () {
63 63
64IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" 64IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend"
65IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz" 65IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz"
66IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo"
66IMAGE_CMD_tar = "tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar -C ${IMAGE_ROOTFS} ." 67IMAGE_CMD_tar = "tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar -C ${IMAGE_ROOTFS} ."
67 68
68IMAGE_CMD_cpio () { 69IMAGE_CMD_cpio () {
@@ -121,12 +122,13 @@ IMAGE_DEPENDS_ext4 = "e2fsprogs-native"
121IMAGE_DEPENDS_btrfs = "btrfs-tools-native" 122IMAGE_DEPENDS_btrfs = "btrfs-tools-native"
122IMAGE_DEPENDS_squashfs = "squashfs-tools-native" 123IMAGE_DEPENDS_squashfs = "squashfs-tools-native"
123IMAGE_DEPENDS_squashfs-xz = "squashfs-tools-native" 124IMAGE_DEPENDS_squashfs-xz = "squashfs-tools-native"
125IMAGE_DEPENDS_squashfs-lzo = "squashfs-tools-native"
124IMAGE_DEPENDS_elf = "virtual/kernel mkelfimage-native" 126IMAGE_DEPENDS_elf = "virtual/kernel mkelfimage-native"
125IMAGE_DEPENDS_ubi = "mtd-utils-native" 127IMAGE_DEPENDS_ubi = "mtd-utils-native"
126IMAGE_DEPENDS_ubifs = "mtd-utils-native" 128IMAGE_DEPENDS_ubifs = "mtd-utils-native"
127 129
128# This variable is available to request which values are suitable for IMAGE_FSTYPES 130# This variable is available to request which values are suitable for IMAGE_FSTYPES
129IMAGE_TYPES = "jffs2 jffs2.sum cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma btrfs iso hddimg squashfs squashfs-xz ubi ubifs tar tar.gz tar.bz2 tar.xz tar.lz4 cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 vmdk elf" 131IMAGE_TYPES = "jffs2 jffs2.sum cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma btrfs iso hddimg squashfs squashfs-xz squashfs-lzo ubi ubifs tar tar.gz tar.bz2 tar.xz tar.lz4 cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 vmdk elf"
130 132
131COMPRESSIONTYPES = "gz bz2 lzma xz lz4 sum" 133COMPRESSIONTYPES = "gz bz2 lzma xz lz4 sum"
132COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}" 134COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}"