projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
binman: Fix extract command for using non-absolute image paths
[platform/kernel/u-boot.git]
/
tools
/
binman
/
control.py
diff --git
a/tools/binman/control.py
b/tools/binman/control.py
index
304fc70
..
7da69ba
100644
(file)
--- a/
tools/binman/control.py
+++ b/
tools/binman/control.py
@@
-355,6
+355,7
@@
def ReplaceEntries(image_fname, input_fname, indir, entry_paths,
Returns:
List of EntryInfo records that were written
"""
+ image_fname = os.path.abspath(image_fname)
image = Image.FromFile(image_fname)
# Replace an entry from a single file, as a special case