diff options
author | Simon Glass | 2021-11-12 12:28:13 -0700 |
---|---|---|
committer | Simon Glass | 2022-01-26 08:50:44 -0700 |
commit | 2d2384bbaff0ab84c868b553c74048a5f6acc9e3 (patch) | |
tree | 1edf6dbd436d0459c85a769626387dbf1c3ff93c /tools/mkimage.c | |
parent | 9737c2d1ebe0fe61e1f406f7158b97552b6acad2 (diff) |
tools: mkimage: Show where signatures/keys are written
At present mkimage displays the node information but it is not clear what
signing action was taken. Add a message that shows it. For now it only
supports showing a single signing action, since that is the common case.
Sample:
Signature written to 'sha1-basic/test.fit',
node '/configurations/conf-1/signature'
Public key written to 'sha1-basic/sandbox-u-boot.dtb',
node '/signature/key-dev'
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r-- | tools/mkimage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c index 0ec28da33cb..c8f4ecd473d 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -10,6 +10,7 @@ #include "imagetool.h" #include "mkimage.h" #include "imximage.h" +#include <fit_common.h> #include <image.h> #include <version.h> #ifdef __linux__ @@ -472,6 +473,9 @@ int main(int argc, char **argv) (void) munmap((void *)ptr, sbuf.st_size); (void) close (ifd); + if (!retval) + summary_show(¶ms.summary, params.imagefile, + params.keydest); exit (retval); } |