Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | How to generate/update the file uutils-coreutils_XXX.bb: |
| 2 | |
| 3 | cargo with version > 1.60 is needed so cargo from Ubuntu's apt will not work |
| 4 | (because of https://github.com/rust-lang/cargo/issues/10623): |
| 5 | This package is needed (tested on Ubuntu 22.04): |
| 6 | sudo apt-get -y install librust-cargo+openssl-dev |
| 7 | |
| 8 | Then install cargo-bitbake with: |
| 9 | $ cargo install --locked cargo-bitbake |
| 10 | |
| 11 | You can now update coreutils: |
| 12 | $ git clone https://github.com/uutils/coreutils.git |
| 13 | $ cd coreutils |
| 14 | $ git tag |
| 15 | $ git checkout 0.0.XXX |
| 16 | $ cargo-bitbake bitbake |
| 17 | Wrote: coreutils_0.0.15.bb |
| 18 | |
| 19 | Verify manual changes in the bb file (rename coreutils.inc to uutils-coreutils.inc) |