mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
binman: Show the size when writing entries
Update the log output to show the size, since this is useful information. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
397a770254
commit
5b378e4d0b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user