Skip to contentSkip to conversation

uutils-coreutils: Add crates checksum and use cargo-update-recipes-crates

PATCH New [email protected] 1 participant 1 message Mar 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uutils-coreutils: Add crates checksum and use cargo-update-recipes-crates

From: Frederic Martinsons <[email protected]>

This is related to checksum verification introduction in bitbake crate fetcher:
https://patchwork.yoctoproject.org/project/bitbake/patch/[email protected]/

---
 .../recipes-core/uutils-coreutils/README.txt  |  19 --
 .../uutils-coreutils-crates.inc               | 269 ++++++++++++++++
 .../uutils-coreutils_0.0.17.bb                | 301 +-----------------
 3 files changed, 275 insertions(+), 314 deletions(-)
 delete mode 100644 meta-oe/recipes-core/uutils-coreutils/README.txt
 create mode 100644 meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc
meta-oe/recipes-core/uutils-coreutils/README.txt deleted +0 -19
deleted file mode 100644
index cfd7b051b..000000000
@@ -1,19 +0,0 @@
-How to generate/update the file uutils-coreutils_XXX.bb:
-
-cargo with version > 1.60 is needed so cargo from Ubuntu's apt will not work
-(because of https://github.com/rust-lang/cargo/issues/10623):
-This package is needed (tested on Ubuntu 22.04):
-sudo apt-get -y install librust-cargo+openssl-dev
-
-Then install cargo-bitbake with:
-$ cargo install --locked cargo-bitbake
-
-You can now update coreutils:
-$ git clone https://github.com/uutils/coreutils.git
-$ cd coreutils
-$ git tag
-$ git checkout 0.0.XXX
-$ cargo-bitbake bitbake
-Wrote: coreutils_0.0.15.bb
-
-Verify manual changes in the bb file (rename coreutils.inc to uutils-coreutils.inc)
meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc new file +269 -0

269 lines not on this page · raw message

meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.17.bb +6 -295

309 lines not on this page · raw message

Signature · 1 line
2.34.1