projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fb115e
)
binman: Fix extract command for using non-absolute image paths
author
Jan Kiszka
<jan.kiszka@siemens.com>
Thu, 11 Nov 2021 07:14:18 +0000
(08:14 +0100)
committer
Simon Glass
<sjg@chromium.org>
Sun, 28 Nov 2021 23:51:51 +0000
(16:51 -0700)
Otherwise the updated image will end up in the temporary folder that is
purged after completion.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-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 304fc70f56f638be9f3b75d8567a0855fa9d3817..7da69ba38de477bf077a396e55ba80ab84613411 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