diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-12 17:31:54 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:53:56 +0100 |
commit | 5a281ea940925fc526bb430d671660242dc6f9f3 (patch) | |
tree | 07edb1a81eb56a75ec3f396d6556b4def666a6b3 /meta | |
parent | a5bb0bdcf08c1f6e04118716ef1c5bb80f0b9f72 (diff) | |
download | poky-5a281ea940925fc526bb430d671660242dc6f9f3.tar.gz |
image_types.bbclass: Fix COMPRESS_CMD for xz to redirect compressed data to file
Having -c modifier makes xz to output the compressed data to stdout. In this
way the needed data will be in the do_rootfs log.
Redirect data to ${IMAGE_NAME}.rootfs.${type}.xz .
(From OE-Core rev: 7ceea61636d6a6f886002e3c29941da3356157ac)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 5734edfb22..0e79820612 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -236,7 +236,7 @@ COMPRESSIONTYPES = "gz bz2 lzma xz" | |||
236 | COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}" | 236 | COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}" |
237 | COMPRESS_CMD_gz = "gzip -f -9 -c ${IMAGE_NAME}.rootfs.${type} > ${IMAGE_NAME}.rootfs.${type}.gz" | 237 | COMPRESS_CMD_gz = "gzip -f -9 -c ${IMAGE_NAME}.rootfs.${type} > ${IMAGE_NAME}.rootfs.${type}.gz" |
238 | COMPRESS_CMD_bz2 = "bzip2 -f -k ${IMAGE_NAME}.rootfs.${type}" | 238 | COMPRESS_CMD_bz2 = "bzip2 -f -k ${IMAGE_NAME}.rootfs.${type}" |
239 | COMPRESS_CMD_xz = "xz -f -k -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} ${IMAGE_NAME}.rootfs.${type}" | 239 | COMPRESS_CMD_xz = "xz -f -k -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} ${IMAGE_NAME}.rootfs.${type} > ${IMAGE_NAME}.rootfs.${type}.xz" |
240 | COMPRESS_DEPENDS_lzma = "xz-native" | 240 | COMPRESS_DEPENDS_lzma = "xz-native" |
241 | COMPRESS_DEPENDS_gz = "" | 241 | COMPRESS_DEPENDS_gz = "" |
242 | COMPRESS_DEPENDS_bz2 = "" | 242 | COMPRESS_DEPENDS_bz2 = "" |