[oe] [PATCH v3] conf/bitbake: improve compression image handling and adapt linux-kexecboot.inc
Andrea Adami
andrea.adami at gmail.com
Wed Jun 22 21:55:11 UTC 2011
...
-IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} &&
(find . | cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL}
>${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma)
${EXTRA_IMAGECMD}"
+IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} &&
(find . | cpio -o -H newc | xz --format=lzma -c
${LZMA_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK}
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}"
Hello, thx for refreshing the patch.
being that we have two vars:
XZ_COMPRESSION_LEVEL ?= "-e -9"
LZMA_COMPRESSION_LEVEL ?= "-e -9"
wouldn't it better to use XZ_COMPRESSION_LEVEL?
Remember (man xz) that lzma-utils '-9' is equivalent to xz-utils '-8'
in terms of dictionary/ram needed for decompression.
Regards
Andrea
More information about the Openembedded-devel
mailing list