Skip to content

Commit

Permalink
binman: btool: gzip: fix packer name so that binary can be found
Browse files Browse the repository at this point in the history
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: 0f369d7 ("binman: Add gzip bintool")
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
QSchulz authored and sjg20 committed Sep 1, 2022
1 parent 4e10c12 commit daa2da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/binman/btool/btool_gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.]+)')

0 comments on commit daa2da7

Please sign in to comment.