meta-openembedded/meta-oe/recipes-core/uutils-coreutils
Etienne Cordonnier a9bb79e1b9 uutils-coreutils: add recipe
uutils-coreutils is a rewrite of GNU coreutils in Rust.
It is licensed under MIT license.

To use this recipe add this line to your distro configuration:
PREFERRED_PROVIDER_coreutils = "uutils-coreutils"

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-24 08:26:55 -07:00
..
README.txt uutils-coreutils: add recipe 2022-08-24 08:26:55 -07:00
uutils-coreutils_0.0.15.bb uutils-coreutils: add recipe 2022-08-24 08:26:55 -07:00
uutils-coreutils.inc uutils-coreutils: add recipe 2022-08-24 08:26:55 -07:00

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)