Hi Frederic

On 05.04.23 at 21:04, Frederic Martinsons wrote:



    Any more Rust changes we should mention in the migration notes?


Maybe mention a specific procedure to update a cargo based recipe from scratch (i.e. a recipe that
didn't use the cargo-update-recipe-crates inheritance):

To bootstrap a cargo base recipe which have not the checksum list, below are
the steps to make:
  - make the recipe inherit cargo-update-recipe-crates
  - remove all crate:// from the recipe
  - create an empty ${BPN}-crates.inc file and make your recipe requires it
  - execute "bitbake -c update_crates your_recipe"
  - copy paste the output of bitbake about the missing checksums in your ${BPN}-crates.inc

The last step requires a bitbake patch to show all the missing checksum which I don't know
if it will be in 4.2.


Do you mean this one?
https://git.openembedded.org/bitbake/commit/?h=2.4&id=dafa07c080e05975b6319b5adf78a9691c6b6643

It just got merged.
Thanks for the tip.

Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#179757): 
https://lists.openembedded.org/g/openembedded-core/message/179757
Mute This Topic: https://lists.openembedded.org/mt/98100806/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to