Op 27 feb. 2012, om 13:43 heeft Richard Purdie het volgende geschreven: > The current approach of adding each different compressed image type doesn't > scale. This patch changes the code so compressed images for each form are > automatically available using the form <type>.<compression type> in > IMAGE_FSTYPES. This doesn't change any existing externally visible behaviour > and the image generation process becomes more efficient as a result too. > > Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> > --- > diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass > > +COMPRESSIONTYPES = "gz bz2 lzma xy" > +COMPRESS_CMD_lzma = "lzma -k -f -7 ${IMAGE_NAME}.rootfs.${type}" > +COMPRESS_CMD_gz = "gzip -f -9 -c ${IMAGE_NAME}.rootfs.${type} > > ${IMAGE_NAME}.rootfs.${type}.gz" > +COMPRESS_CMD_bz2 = "bzip2 -k ${IMAGE_NAME}.rootfs.${type}" > +COMPRESS_CMD_xy = "xz -k -c ${XZ_COMPRESSION_LEVEL} > --check=${XZ_INTEGRITY_CHECK} ${IMAGE_NAME}.rootfs.${type}" > +COMPRESS_DEPENDS_lzma = "xz-native" > +COMPRESS_DEPENDS_gz = "" > +COMPRESS_DEPENDS_bz2 = "" > +COMPRESS_DEPENDS_xy = "xz-native"
s/xy/xz/g regrds, koen _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core