]> git.ipfire.org Git - thirdparty/u-boot.git/commit
binman: bintool: use apt-get instead of apt
authorJerome Forissier <jerome.forissier@linaro.org>
Thu, 24 Jul 2025 09:12:40 +0000 (11:12 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 29 Jul 2025 23:00:07 +0000 (17:00 -0600)
commit2babd34eacfb12f799f8d52a8729139041a18680
tree6e9a65e8bddc9184264897cfa5e508ae23788472
parent3532f1f5edfc97c9dcea723cdeb732eda44bc669
binman: bintool: use apt-get instead of apt

The 'apt' command is not meant to be used in scripts or tools. Please
see the man page [1] for details. Therefore, use 'apt-get' instead.
This avoids the following warning:

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

[1] https://manpages.debian.org/bookworm/apt/apt.8.en.html#SCRIPT_USAGE_AND_DIFFERENCES_FROM_OTHER_APT_TOOLS

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bryan Brattlof <bb@ti.com>
tools/binman/bintool.py