]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
scripts/install-buildtools: add an option to specify where downloads go
authorAlexander Kanavin <alex@linutronix.de>
Thu, 13 Mar 2025 17:22:22 +0000 (18:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2025 16:35:52 +0000 (16:35 +0000)
commitfc8cedd899f7e5d06215a71808dd0827ccdcf849
tree445f05586680a1333f2e2c371bec275374c7115b
parent6aa3e8e7b701590097ecefc3cf9a193423c5a5ea
scripts/install-buildtools: add an option to specify where downloads go

By default the script puts everything it downloads into a temporary
directory and erases it after unpacking and installing the buildtools.

This isn't great for traceability and reproducibility of builds
(being able to see what was downloaded exactly, and being able
to reproduce setting up a build, especially if the buildtools
download location isn't available for whatever reason).

This commit adds an option to download items into a specified directory
and keep them there. I would particularly like to use it with
bitbake-setup, where an optional feature to install the buildtools
(exact implementation details tbd) would ensure the tarball remains
available on local disk.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/install-buildtools