diff options
-rw-r--r-- | meta/classes/image_types.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 4d928667e8..2e852af70a 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -316,7 +316,13 @@ IMAGE_TYPES = " \ | |||
316 | wic wic.gz wic.bz2 wic.lzma \ | 316 | wic wic.gz wic.bz2 wic.lzma \ |
317 | " | 317 | " |
318 | 318 | ||
319 | CONVERSIONTYPES = "gz bz2 lzma xz lz4 zip sum md5sum sha1sum sha224sum sha256sum sha384sum sha512sum bmap" | 319 | # Compression is a special case of conversion. The old variable |
320 | # names are still supported for backward-compatibility. When defining | ||
321 | # new compression or conversion commands, use CONVERSIONTYPES and | ||
322 | # CONVERSION_CMD/DEPENDS. | ||
323 | COMPRESSIONTYPES ?= "" | ||
324 | |||
325 | CONVERSIONTYPES = "gz bz2 lzma xz lz4 zip sum md5sum sha1sum sha224sum sha256sum sha384sum sha512sum bmap ${COMPRESSIONTYPES}" | ||
320 | CONVERSION_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}" | 326 | CONVERSION_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}" |
321 | CONVERSION_CMD_gz = "gzip -f -9 -c ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} > ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.gz" | 327 | CONVERSION_CMD_gz = "gzip -f -9 -c ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} > ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.gz" |
322 | CONVERSION_CMD_bz2 = "pbzip2 -f -k ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}" | 328 | CONVERSION_CMD_bz2 = "pbzip2 -f -k ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}" |