kumquat-buildroot/support/download
Thomas Petazzoni 36e8743da1 support/download/cargo-post-process: make manifest path configurable
In most pure Rust packages, the Cargo.toml manifest is at the root
directory, which is why we could call "cargo vendor" without
specifying the path of the manifest.

However, other packages, such as python-cryptography, which have parts
implemented in Rust, have their Cargo.toml located in a specific
subdirectory.

This commit extends the cargo-post-process download script to
understand a BR_CARGO_MANIFEST_PATH environment variable, which allows
a package to pass the location of the Cargo.toml file. If not passed,
"Cargo.toml" is used, preserving the existing behavior for other
packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-09 12:13:48 +01:00
..
bzr support/download: fix git/svn corrupted cache 2021-03-19 21:22:59 +01:00
cargo-post-process support/download/cargo-post-process: make manifest path configurable 2022-01-09 12:13:48 +01:00
check-hash
cvs support/download: fix git/svn corrupted cache 2021-03-19 21:22:59 +01:00
dl-wrapper support/download/dl-wrapper: add concept of download post-processing 2022-01-07 11:19:10 +01:00
file support/download: fix git/svn corrupted cache 2021-03-19 21:22:59 +01:00
git support/download/git: add missing "git lfs install" invocation for LFS support 2022-01-07 19:06:48 +01:00
go-post-process support/download/go-post-process: drop -o pipefail 2022-01-09 11:07:37 +01:00
helpers support/download/helpers: use tar xzf in post_process_unpack() 2022-01-08 23:35:40 +01:00
hg support/download/hg: fix broken method 2021-04-28 21:51:10 +02:00
scp support/download: fix git/svn corrupted cache 2021-03-19 21:22:59 +01:00
sftp support/download: Add SFTP support 2022-01-06 09:34:05 +01:00
svn support/download: fix git/svn corrupted cache 2021-03-19 21:22:59 +01:00
wget support/download: fix git/svn corrupted cache 2021-03-19 21:22:59 +01:00