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: 0f369d7992
("binman: Add gzip bintool")
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4e10c1227a
commit
daa2da754a
@ -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.]+)')
|
||||
|
Loading…
Reference in New Issue
Block a user