Open redeexpressos opened 1 month ago
Maybe related to #168
Also, I can login via .netrc
inside my bitbake shell, and I can git clone private stuff. But looks like Cargo
handles them in a weird way, so my recipe is unable to build because the software has a Cargo.toml
that fetches private repositories.
Running out of ideas :(
Looks like adding netrc
authentication and:
do_compile:prepend() {
export CARGO_NET_GIT_FETCH_WITH_CLI=true
}
fixed the issue.
For some reason .cargo/config
is not doing what its supposed in this bitbake shell.. I am not sure if someone can reproduce the .cargo/config
part. Will wait for feedback
.cargo/config.toml
:However, when compiling with bitbake, it cannot find the private crates.
What is the workaround for this?