1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

binman: Use a private directory for bintools

At present binman writes tools into the ~/bin directory. This is
convenient but some may be concerned about downloading unverified
binaries and running them. Place then in a special ~/.binman-tools
directory instead.

Mention this in the documentation.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2023-02-22 12:14:48 -07:00
parent 00f674db2d
commit 932e40d0b5
2 changed files with 3 additions and 1 deletions

View File

@@ -1415,6 +1415,8 @@ You can also use `--fetch all` to fetch all tools or `--fetch <tool>` to fetch
a particular tool. Some tools are built from source code, in which case you will
need to have at least the `build-essential` and `git` packages installed.
Tools are fetched into the `~/.binman-tools` directory.
Bintool Documentation
=====================

View File

@@ -52,7 +52,7 @@ class Bintool:
missing_list = []
# Directory to store tools
tooldir = os.path.join(os.getenv('HOME'), 'bin')
tooldir = os.path.join(os.getenv('HOME'), '.binman-tools')
def __init__(self, name, desc, version_regex=None, version_args='-V'):
self.name = name