diff options
author | Alex Kiernan | 2018-06-20 20:10:52 +0000 |
---|---|---|
committer | Tom Rini | 2018-07-10 16:56:00 -0400 |
commit | 795f452eeff157b994a783d78d00e0108463b993 (patch) | |
tree | 3b3cc8c2cba2732044f87b012b5fc9266a3392be /tools/fit_image.c | |
parent | 87925df2b3f8d308addc5c0fe5a22ae9712ca5ec (diff) |
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 6f09a661067..3c265357ae7 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) { |