projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397a770
)
binman: Show the size when writing entries
author
Simon Glass
<sjg@chromium.org>
Thu, 7 Jan 2021 04:35:13 +0000
(21:35 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000
(14:25 -0700)
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
patch
|
blob
|
history
diff --git
a/tools/binman/control.py
b/tools/binman/control.py
index
072417f
..
1952b2a
100644
(file)
--- 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