u-boot/tools/binman/btool
Quentin Schulz 7ac6842316 binman: bintool: bzip2: fix version function on non-Debian-based systems
Upstream bzip2 1.0.x actually is stuck when running bzip2 -V and
redirecting the output. This is fixed in Debian for about a decade
already in
https://git.launchpad.net/ubuntu/+source/bzip2/tree/debian/patches/20-legacy.patch?h=ubuntu/jammy
and in bzip2 1.1.x (no release yet, see
65179284ce
).

Fedora notably does not have such a patch.

Since bzip2 --help actually prints the version number too, let's use it
instead so that binman works fine on (hopefully) all distributions.

Fixes: 45aa279800 ("binman: Add bzip2 bintool")
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-09-01 11:36:36 -06:00
..
_testing.py binman: Add tests for bintool 2022-01-25 12:36:11 -07:00
btool_gzip.py binman: btool: gzip: fix packer name so that binary can be found 2022-09-01 11:36:36 -06:00
bzip2.py binman: bintool: bzip2: fix version function on non-Debian-based systems 2022-09-01 11:36:36 -06:00
cbfstool.py binman: Add a bintool implementation for cbfstool 2022-01-25 12:36:11 -07:00
fiptool.py binman: btool: fiptool: use Bintool.version 2022-09-01 11:36:36 -06:00
futility.py binman: btool: futility: use Bintool.version 2022-09-01 11:36:36 -06:00
ifwitool.py binman: Add a bintool implementation for ifwitool 2022-01-25 12:36:11 -07:00
lz4.py binman: btool: lz4: use Bintool.version 2022-09-01 11:36:36 -06:00
lzma_alone.py patman: Convert camel case in tools.py 2022-02-09 12:26:12 -07:00
lzop.py binman: Add lzop bintool 2022-08-20 18:07:33 -06:00
mkimage.py binman: btool: mkimage: use Bintool.version 2022-09-01 11:36:36 -06:00
xz.py binman: Add xz bintool 2022-08-20 18:07:33 -06:00
zstd.py binman: Add zstd bintool 2022-08-20 18:07:33 -06:00