diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-06-20 23:10:52 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-10 23:56:00 +0300 |
commit | 795f452eeff157b994a783d78d00e0108463b993 (patch) | |
tree | 3b3cc8c2cba2732044f87b012b5fc9266a3392be /tools/fit_image.c | |
parent | 87925df2b3f8d308addc5c0fe5a22ae9712ca5ec (diff) | |
download | u-boot-795f452eeff157b994a783d78d00e0108463b993.tar.xz |
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>
Diffstat (limited to 'tools/fit_image.c')
-rw-r--r-- | tools/fit_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c index 6f09a66106..3c265357ae 100644 --- a/tools/fit_image.c +++ b/tools/fit_image.c @@ -60,7 +60,8 @@ static int fit_add_file_data(struct image_tool_params *params, size_t size_inc, ret = fit_add_verification_data(params->keydir, dest_blob, ptr, params->comment, params->require_keys, - params->engine_id); + params->engine_id, + params->cmdname); } if (dest_blob) { |