mkimage: fit_image: Add support for SOURCE_DATE_EPOCH in signatures
authorAlex Kiernan <alex.kiernan@gmail.com>
Wed, 20 Jun 2018 20:10:52 +0000 (20:10 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 10 Jul 2018 20:56:00 +0000 (16:56 -0400)
commit795f452eeff157b994a783d78d00e0108463b993
tree3b3cc8c2cba2732044f87b012b5fc9266a3392be
parent87925df2b3f8d308addc5c0fe5a22ae9712ca5ec
mkimage: fit_image: Add support for SOURCE_DATE_EPOCH in signatures

When generating timestamps in signatures, use imagetool_get_source_date()
so we can be overridden by SOURCE_DATE_EPOCH to generate reproducible
images.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Simon Glass <sjg@chromum.org>
include/image.h
tools/fit_image.c
tools/image-host.c