All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] binman: btool: gzip: fix packer name so that binary can be found
@ 2022-08-31 15:55 Quentin Schulz
  2022-08-31 17:44 ` Simon Glass
  0 siblings, 1 reply; 7+ messages in thread
From: Quentin Schulz @ 2022-08-31 15:55 UTC (permalink / raw)
  Cc: sjg, alpernebiyasak, stefan.herbrechtsmeier, u-boot, Quentin Schulz

From: Quentin Schulz <quentin.schulz@theobroma-systems.com>

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>
---
 tools/binman/btool/btool_gzip.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.]+)')
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-07 12:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 15:55 [PATCH] binman: btool: gzip: fix packer name so that binary can be found Quentin Schulz
2022-08-31 17:44 ` Simon Glass
2022-09-01  6:12   ` Stefan Herbrechtsmeier
2022-09-01 14:34     ` Quentin Schulz
2022-09-01 15:05       ` Stefan Herbrechtsmeier
2022-09-07 12:30       ` Simon Glass
2022-09-01 14:34     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.