aboutsummaryrefslogtreecommitdiff
path: root/tools/fit_image.c
diff options
context:
space:
mode:
authorAlex Kiernan2018-06-20 20:10:52 +0000
committerTom Rini2018-07-10 16:56:00 -0400
commit795f452eeff157b994a783d78d00e0108463b993 (patch)
tree3b3cc8c2cba2732044f87b012b5fc9266a3392be /tools/fit_image.c
parent87925df2b3f8d308addc5c0fe5a22ae9712ca5ec (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.c3
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) {