diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2023-04-05 14:21:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-06 14:28:59 +0100 |
commit | b92918eb0eb25e737e2ad044323a6607c37dab28 (patch) | |
tree | 1ccf671dfdf22dc50c51c9e67726cdef13794a8c /meta/classes-recipe/cargo-update-recipe-crates.bbclass | |
parent | 08d564bd92fc476d7f0b4a6201b752e51cf93776 (diff) | |
download | poky-b92918eb0eb25e737e2ad044323a6607c37dab28.tar.gz |
bitbake: fetch2/crate: create versioned 'name' entries
It is common for rust packages to depend on different versions of the
same crate. E.g.
| crate://crates.io/windows_x86_64_msvc/0.42.2 \
| crate://crates.io/windows_x86_64_msvc/0.48.0 \
Identification only by the plain crate name makes the sha256sum
ambiguous
| SRC_URI[windows_x86_64_msvc.sha256sum] = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
| SRC_URI[windows_x86_64_msvc.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
and requires lot of manual work to fix the SRC_URI list.
Making the 'name' property unique by appending the version allows
direct copy & paste of reported sha256sum errors to complete the
crates list.
(Bitbake rev: ae2efb05196f9e29ef56ad9a84e2eae5fbdd8030)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/cargo-update-recipe-crates.bbclass')
0 files changed, 0 insertions, 0 deletions