[PATCH] binman: btool: gzip: fix packer name so that binary can be found
Simon Glass
sjg at chromium.org
Wed Aug 31 19:44:34 CEST 2022
On Wed, 31 Aug 2022 at 09:55, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz at 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 at theobroma-systems.com>
> ---
> tools/binman/btool/btool_gzip.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Oops! I wonder how we could test this? One way would be to require
those tools to be present and write a test that reads the version, I
suppose.
Regards,
Simon
More information about the U-Boot
mailing list