Message ID | 20210106213503.4.Ib16c91d01d6ae3d1f6ab814813410de7b887f9aa@changeid |
---|---|
State | Accepted |
Commit | 5b378e4d0b88502faac50180d4be10d60a3f49a8 |
Delegated to: | Simon Glass |
Headers | show |
Series | binman: Various minor fixes and improvement | expand |
Update the log output to show the size, since this is useful information.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
tools/binman/control.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
diff --git a/tools/binman/control.py b/tools/binman/control.py index 072417f3644..1952b2abf48 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -244,7 +244,8 @@ def ExtractEntries(image_fname, output_fname, outdir, entry_paths, if not os.path.exists(fname): os.makedirs(fname) fname = os.path.join(fname, 'root') - tout.Notice("Write entry '%s' to '%s'" % (entry.GetPath(), fname)) + tout.Notice("Write entry '%s' size %x to '%s'" % + (entry.GetPath(), len(data), fname)) tools.WriteFile(fname, data) return einfos
Update the log output to show the size, since this is useful information. Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/binman/control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)