diff --git a/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass b/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass index 6f606208296..e88ff48036e 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass @@ -280,7 +280,7 @@ _cargo_set_crate_uris() { name="${BASH_REMATCH[1]}" version="${BASH_REMATCH[2]}" fi - url="https://crates.io/api/v1/crates/${name}/${version}/download -> ${name}-${version}.crate" + url="https://static.crates.io/crates/${name}/${name}-${version}.crate" CARGO_CRATE_URIS+="${url} " # when invoked by pkgbump, avoid fetching all the crates diff --git a/setup_board b/setup_board index 9cfbc061bf9..51e07902c33 100755 --- a/setup_board +++ b/setup_board @@ -299,9 +299,7 @@ sudo_clobber "${BOARD_ETC}/portage/make.conf" <