diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2017-09-12 15:30:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-12 23:55:29 +0100 |
commit | 74afde0058e5ca6f27e645013e8a71ce297b23be (patch) | |
tree | 9bf22195e5018e21b74b34549cbf1298e817793d /meta/classes | |
parent | 6255c002af95ba4481d96741bea59e3db7c663df (diff) | |
download | poky-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.bbclass | 4 |
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 () { | |||
107 | IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs ${EXTRA_IMAGECMD} -noappend" | 107 | IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs ${EXTRA_IMAGECMD} -noappend" |
108 | IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz" | 108 | IMAGE_CMD_squashfs-xz = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-xz ${EXTRA_IMAGECMD} -noappend -comp xz" |
109 | IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo" | 109 | IMAGE_CMD_squashfs-lzo = "mksquashfs ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.squashfs-lzo ${EXTRA_IMAGECMD} -noappend -comp lzo" |
110 | IMAGE_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" | |||
236 | do_image_squashfs[depends] += "squashfs-tools-native:do_populate_sysroot" | 237 | do_image_squashfs[depends] += "squashfs-tools-native:do_populate_sysroot" |
237 | do_image_squashfs_xz[depends] += "squashfs-tools-native:do_populate_sysroot" | 238 | do_image_squashfs_xz[depends] += "squashfs-tools-native:do_populate_sysroot" |
238 | do_image_squashfs_lzo[depends] += "squashfs-tools-native:do_populate_sysroot" | 239 | do_image_squashfs_lzo[depends] += "squashfs-tools-native:do_populate_sysroot" |
240 | do_image_squashfs_lz4[depends] += "squashfs-tools-native:do_populate_sysroot" | ||
239 | do_image_elf[depends] += "virtual/kernel:do_populate_sysroot mkelfimage-native:do_populate_sysroot" | 241 | do_image_elf[depends] += "virtual/kernel:do_populate_sysroot mkelfimage-native:do_populate_sysroot" |
240 | do_image_ubi[depends] += "mtd-utils-native:do_populate_sysroot" | 242 | do_image_ubi[depends] += "mtd-utils-native:do_populate_sysroot" |
241 | do_image_ubifs[depends] += "mtd-utils-native:do_populate_sysroot" | 243 | do_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 \ |