diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2022-08-31 17:55:14 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-09-01 11:36:36 -0600 |
commit | daa2da754afe1bac777f6cb0f05233e0de7b325d (patch) | |
tree | 36bf61b15f83e0004657fc478f655bea614ccff0 /tools | |
parent | 4e10c1227aa879af809b3073bf917289f23e17d7 (diff) | |
download | u-boot-daa2da754afe1bac777f6cb0f05233e0de7b325d.tar.gz |
binman: btool: gzip: fix packer name so that binary can be found
The binary is looked on the system by the suffix of the packer class.
This means binman was looking for btool_gzip on the system and not gzip.
Therefore, let's pass "gzip" as the name so that it can be found and
used.
Fixes: 0f369d79925a ("binman: Add gzip bintool")
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/binman/btool/btool_gzip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/btool/btool_gzip.py b/tools/binman/btool/btool_gzip.py index 7bea300b5d..70cbc19f04 100644 --- a/tools/binman/btool/btool_gzip.py +++ b/tools/binman/btool/btool_gzip.py @@ -27,5 +27,5 @@ class Bintoolbtool_gzip(bintool.BintoolPacker): man gzip """ def __init__(self, name): - super().__init__(name, compress_args=[], + super().__init__("gzip", compress_args=[], version_regex=r'gzip ([0-9.]+)') |