]> code.ossystems Code Review - openembedded-core.git/commit
image_types: use compress framework to produce checksums for images
authorAlexander D. Kanevskiy <kad@kad.name>
Thu, 24 Mar 2016 20:16:48 +0000 (22:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Apr 2016 10:27:25 +0000 (11:27 +0100)
commit1fbd27122ac4403b8688bc41d128602564a05506
treedc10e85ed8174c718f0912cb1d308d735d00f445
parent503a80de1cc9097fdc8f6b5b7d0e3a3991b0ecd2
image_types: use compress framework to produce checksums for images

Existing compress framework for producing various compressed versions
of images is powerfull enough to be extended for other uses, e.g. to
convert types of images.

It is possible to use it also to produce image checksums at the time
of image generation. This commit adds support for all supported
at the moment coreutils hashing algorithms: md5, sha1, sha224,
sha256, sha384 and sha512

Usage:
IMAGE_FSTYPES_append = " hddimg.sha256sum"

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass