I often have to do a 'bitbake -k --runall=fetch image > log' to have a log of all files missing at the local and air gapped network. We have a small script to convert the error messages into a shell script to download the files on a PC with Internet and transfer them later to the local network. Great, it works. But a recipe that needs more than one crate file isn't using the -k (continue) options of bitbake during fetching. If stops after report the first missing crate file. Could this be modified so that the fetcher is continue to try to download all needed crate files? Br
This isn't something that fetcher is meant to do. Please discuss on the email list if you have questions.
Are you using the cargo-update-recipe-crates class? https://docs.yoctoproject.org/ref-manual/classes.html?highlight=crate#cargo-update-recipe-crates https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/cargo-update-recipe-crates.bbclass It would put all the detected crates in Cargo.lock file into an .inc file as SRC_URI entries. The .inc file is updated with: bitbake -c update_crates recipe-name