diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2014-08-12 09:54:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:21:51 +0100 |
commit | c23b321b4446685ee4286cc4422772a950ff6370 (patch) | |
tree | e0afe78bcd4a8291dc444e710751fa612bae5806 /meta/classes | |
parent | 6ac0696d10e6d9973803fab1a9364349d7554ed5 (diff) | |
download | poky-c23b321b4446685ee4286cc4422772a950ff6370.tar.gz |
Support image type "squashfs-lzo"
Add "squashfs-lzo" to the image types. LZO compression support has been
in both kernel and squashfs tools for many years, but OE never enabled
it.
(From OE-Core rev: ab659b1c1e13fd6863893abff86990d88aa36790)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 4 |
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 | ||
64 | IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" | 64 | IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" |
65 | IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz" | 65 | IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz" |
66 | IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo" | ||
66 | IMAGE_CMD_tar = "tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar -C ${IMAGE_ROOTFS} ." | 67 | IMAGE_CMD_tar = "tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar -C ${IMAGE_ROOTFS} ." |
67 | 68 | ||
68 | IMAGE_CMD_cpio () { | 69 | IMAGE_CMD_cpio () { |
@@ -121,12 +122,13 @@ IMAGE_DEPENDS_ext4 = "e2fsprogs-native" | |||
121 | IMAGE_DEPENDS_btrfs = "btrfs-tools-native" | 122 | IMAGE_DEPENDS_btrfs = "btrfs-tools-native" |
122 | IMAGE_DEPENDS_squashfs = "squashfs-tools-native" | 123 | IMAGE_DEPENDS_squashfs = "squashfs-tools-native" |
123 | IMAGE_DEPENDS_squashfs-xz = "squashfs-tools-native" | 124 | IMAGE_DEPENDS_squashfs-xz = "squashfs-tools-native" |
125 | IMAGE_DEPENDS_squashfs-lzo = "squashfs-tools-native" | ||
124 | IMAGE_DEPENDS_elf = "virtual/kernel mkelfimage-native" | 126 | IMAGE_DEPENDS_elf = "virtual/kernel mkelfimage-native" |
125 | IMAGE_DEPENDS_ubi = "mtd-utils-native" | 127 | IMAGE_DEPENDS_ubi = "mtd-utils-native" |
126 | IMAGE_DEPENDS_ubifs = "mtd-utils-native" | 128 | IMAGE_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 |
129 | IMAGE_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" | 131 | IMAGE_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 | ||
131 | COMPRESSIONTYPES = "gz bz2 lzma xz lz4 sum" | 133 | COMPRESSIONTYPES = "gz bz2 lzma xz lz4 sum" |
132 | COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}" | 134 | COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}" |