summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2017-09-12 15:30:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-12 23:55:29 +0100
commit74afde0058e5ca6f27e645013e8a71ce297b23be (patch)
tree9bf22195e5018e21b74b34549cbf1298e817793d /meta/classes
parent6255c002af95ba4481d96741bea59e3db7c663df (diff)
downloadpoky-74afde0058e5ca6f27e645013e8a71ce297b23be.tar.gz
image_types: support lz4 compressed squashfs
(From OE-Core rev: de70799af1a8bfe2fac22b90401053275d4714ba) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 9b646e9523..61dca62631 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -107,6 +107,7 @@ IMAGE_CMD_btrfs () {
107IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs ${EXTRA_IMAGECMD} -noappend" 107IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs ${EXTRA_IMAGECMD} -noappend"
108IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz" 108IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz"
109IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo" 109IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo"
110IMAGE_CMD_squashfs-lz4 = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lz4 ${EXTRA_IMAGECMD} -noappend -comp lz4"
110 111
111# By default, tar from the host is used, which can be quite old. If 112# By default, tar from the host is used, which can be quite old. If
112# you need special parameters (like --xattrs) which are only supported 113# you need special parameters (like --xattrs) which are only supported
@@ -236,6 +237,7 @@ do_image_btrfs[depends] += "btrfs-tools-native:do_populate_sysroot"
236do_image_squashfs[depends] += "squashfs-tools-native:do_populate_sysroot" 237do_image_squashfs[depends] += "squashfs-tools-native:do_populate_sysroot"
237do_image_squashfs_xz[depends] += "squashfs-tools-native:do_populate_sysroot" 238do_image_squashfs_xz[depends] += "squashfs-tools-native:do_populate_sysroot"
238do_image_squashfs_lzo[depends] += "squashfs-tools-native:do_populate_sysroot" 239do_image_squashfs_lzo[depends] += "squashfs-tools-native:do_populate_sysroot"
240do_image_squashfs_lz4[depends] += "squashfs-tools-native:do_populate_sysroot"
239do_image_elf[depends] += "virtual/kernel:do_populate_sysroot mkelfimage-native:do_populate_sysroot" 241do_image_elf[depends] += "virtual/kernel:do_populate_sysroot mkelfimage-native:do_populate_sysroot"
240do_image_ubi[depends] += "mtd-utils-native:do_populate_sysroot" 242do_image_ubi[depends] += "mtd-utils-native:do_populate_sysroot"
241do_image_ubifs[depends] += "mtd-utils-native:do_populate_sysroot" 243do_image_ubifs[depends] += "mtd-utils-native:do_populate_sysroot"
@@ -251,7 +253,7 @@ IMAGE_TYPES = " \
251 btrfs \ 253 btrfs \
252 iso \ 254 iso \
253 hddimg \ 255 hddimg \
254 squashfs squashfs-xz squashfs-lzo \ 256 squashfs squashfs-xz squashfs-lzo squashfs-lz4 \
255 ubi ubifs multiubi \ 257 ubi ubifs multiubi \
256 tar tar.gz tar.bz2 tar.xz tar.lz4 \ 258 tar tar.gz tar.bz2 tar.xz tar.lz4 \
257 cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 \ 259 cpio cpio.gz cpio.xz cpio.lzma cpio.lz4 \