aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-11-28 20:38:01 -0500
committerTom Rini <trini@konsulko.com>2021-11-28 20:38:13 -0500
commitc087b5ad974441d1408c028eb7087d86b6d127e9 (patch)
tree1d5efba0d146dcd1a6a449963ea738cc6e4ff73e /tools/binman/control.py
parent1943f2a2a7c58b76812fcad2d3012036af7464ce (diff)
parent452e8c9086a9f95739582da5ccc2130e4bf1ae8b (diff)
downloadu-boot-WIP/28Nov2021.zip
u-boot-WIP/28Nov2021.tar.gz
u-boot-WIP/28Nov2021.tar.bz2
Merge tag 'dm-pull-28nov21' of https://source.denx.de/u-boot/custodians/u-boot-dm into nextWIP/28Nov2021
SPI flash documentation and tidy-ups Various driver model enhancements Fix up some missing unit tests with pytest
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 304fc70..7da69ba 100644
--- 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