44 Commits

Author SHA1 Message Date
Ross Burton f39021c5df uutils-coreutils: delete .cargo/config.toml
This file hardcodes a specific compiler for aarch64-linux builds, which
is not the compiler that we provide.  As it's otherwise useless, we can
just delete the file.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-07 00:29:02 -07:00
Etienne Cordonnier 541a0b2340 uutils-coreutils: upgrade 0.8.0 -> 0.9.0
See release notes at https://github.com/uutils/coreutils/releases/tag/0.9.0

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:34 -07:00
Etienne Cordonnier aec06eecb4 uutils-coreutils: upgrade 0.7.0 -> 0.8.0
See release notes at https://github.com/uutils/coreutils/releases/tag/0.8.0

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-07 08:44:51 -07:00
Deepesh Varatharajan cd0431d03a uutils-coreutils: upgrade 0.6.0 -> 0.7.0
Release notes:
https://github.com/uutils/coreutils/releases/tag/0.7.0

Changes are here:
https://github.com/uutils/coreutils/compare/0.6.0...0.7.0

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:21 -07:00
Etienne Cordonnier 5ff9251b94 uutils-coreutils: upgrade 0.5.0 -> 0.6.0
See https://github.com/uutils/coreutils/releases/tag/0.6.0

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-04 20:53:30 -08:00
Etienne Cordonnier d50131ca7c uutils-coreutils: upgrade 0.4.0 -> 0.5.0
See https://github.com/uutils/coreutils/releases/tag/0.5.0

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-14 09:16:31 -08:00
Etienne Cordonnier 5e2ccdc309 uutils-coreutils: upgrade 0.3.0 -> 0.4.0
See https://github.com/uutils/coreutils/releases/tag/0.4.0

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-10 07:50:04 -08:00
Etienne Cordonnier 7d909d1085 uutils-coreutils: add native and nativesdk
The project is getting more mature, and it's now doable to do a yocto build using uutils-coreutils-native.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-06 16:00:49 -08:00
Etienne Cordonnier 160593772e uutils-coreutils: upgrade 0.2.2 -> 0.3.0
See https://github.com/uutils/coreutils/releases/tag/0.3.0

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-29 10:14:12 -07:00
Etienne Cordonnier 259928e1c0 uutils-coreutils: upgrade to 0.2.2
See https://github.com/uutils/coreutils/releases/tag/0.2.2

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-15 09:55:17 -07:00
Etienne Cordonnier 3956b3a958 uutils-coreutils: add feat_systemd_logind
It allows commands such as "who" to work even when systemd is compiled without "utmp" support.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-15 09:55:17 -07:00
Etienne Cordonnier 98cdacb8ba uutils-coreutils: fix file not being packaged
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-10 09:19:52 -07:00
Etienne Cordonnier 09387c691b uutils-coreutils: upgrade 0.1.0 -> 0.2.0
See https://github.com/uutils/coreutils/releases/tag/0.2.0

- re-add stdbuf now that cross-compiling has been fixed ( see https://github.com/uutils/coreutils/commit/b5d4b0ee1d91f33546eeb12962606acdc64640db )
- enable compilation of libstdbuf.so as external library (instead of embedding it into stdbuf and writing it to /tmp during runtime)
- remove export of PROJECT_NAME_FOR_VERSION_STRING now that the variable has been removed

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-07 12:33:26 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Etienne Cordonnier 2413f11ab3 uutils-coreutils: upgrade 0.0.30 -> 0.1.0
See https://github.com/uutils/coreutils/releases/tag/0.1.0

- major performance gains
- SELinux support
- expanded GNU compatibility
- "features_os_unix" now also works for musl builds

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-27 10:33:01 -07:00
Peter Kjellerstedt 5e31831526 uutils-coreutils: Simplify configuration of selinux support
Also correct a comment.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-24 11:28:00 -07:00
Etienne Cordonnier c5a8eddd99 uutils-coreutils: fix selinux PACKAGECONFIG option
This does not compile any more after https://git.openembedded.org/openembedded-core/commit/?id=16745b20452de60ae2474433cc1a2fb1ed9f6a64
which appends the contents of PACKAGECONFIG_CONFARGS to the cargo build command.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-15 12:52:17 -07:00
Richard Purdie eac1f5b9c0 recipes: Fix variable assignment whitespace
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 08:46:56 -07:00
Etienne Cordonnier 468e751adb uutils-coreutils: upgrade 0.0.29 -> 0.0.30
See https://github.com/uutils/coreutils/releases/tag/0.0.30

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-10 09:41:46 -07:00
Etienne Cordonnier 1d43511321 uutils-coreutils: disable stdbuf compilation
There is a bug in uutils-coreutils causing stdbuf to include the HOST version of libstdbuf.so, even when cross-compiled.
As a side-effect, the uutils-coreutils binary was containing the buildpath, because RPATH was set on libstdbuf.so.
Thus the buildpath error can be re-enabled.

This is tracked upstream by https://github.com/uutils/coreutils/issues/6591

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Co-authored-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-08 15:04:57 -08:00
Martin Jansa 9b4dfdb14f uutils-coreutils: remove LIBCLANG_PATH, SELINUX_LIB_DIR, SELINUX_INCLUDE_DIR variables
* don't seem to be needed, I don't see any failures or changes after removing them

* they were needed before in older version as explained by Etienne in:
  https://lists.openembedded.org/g/openembedded-devel/message/115756

regarding SELINUX_INCLUDE_DIR, it was definitely needed as I implemented the recipe. During implementation I submitted this patch to selinux-sys ( https://github.com/koutheir/selinux-sys/commit/a6667c404ecc33266f66e9516bb8e30150c41ec2 ) to correctly use this variable, and was getting a build error without this fix because the rust crate selinux-sys was not finding the selinux header-file (specifically, the bindgen tool).

However, this was in 2022, and since then there has been this patch in selinux-sys: https://github.com/koutheir/selinux-sys/commit/d3ea4674e18c5240918348bea4ec6248e50516e5 , and it seems that the variable is not needed any more.
At least I'm not able to reproduce the build error which I was getting, even with commenting out SELINUX_LIB_DIR and SELINUX_INCLUDE_DIR.

The header-file is used for generating rust code from the C header-file using bindgen, so I don't think it makes a difference whether the native version or the target version is used.

This is the old build error I was getting:
  process didn't exit successfully: `/workdir/build/tmp-glibc/work/armv8a-linux/uutils-coreutils/0.0.14.AUTOINC+43a5b8c7d7-r0/build/target/release/build/selinux-sys-0849198bc1fef4a4/build-script-build` (exit status: 101)
  --- stdout
  cargo:root=/workdir/build/tmp-glibc/work/armv8a-linux/uutils-coreutils/0.0.14.AUTOINC+43a5b8c7d7-r0/build/target/aarch64-snap-linux/release/build/selinux-sys-d96748d49908959f/out
  cargo:rerun-if-env-changed=SELINUX_STATIC_aarch64-snap-linux
  cargo:rerun-if-env-changed=SELINUX_STATIC_aarch64_snap_linux
  cargo:rerun-if-env-changed=TARGET_SELINUX_STATIC

|   --- stderr
|   src/selinux-sys.h:1:10: fatal error: 'selinux/selinux.h' file not found
|   src/selinux-sys.h:1:10: fatal error: 'selinux/selinux.h' file not found, err: true

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Martin Jansa e35b6e146b uutils-coreutils: use correct variables
* use STAGING_LIBDIR_NATIVE variable for LIBCLANG_PATH and SELINUX_LIB_DIR
  and STAGING_INCDIR_NATIVE variable for SELINUX_INCLUDE_DIR
  not sure why it uses native version and not target, but at least use
  correct variable

* hardcoding:
  ${WORKDIR}/recipe-sysroot-native${libdir}
  is just wrong when there is a better variable

* This path won't be correct for multilib builds where target ${libdir}
  might be e.g. /usr/lib32 while native libdir is /usr/lib.

* even with meta-selinux added to my builds I don't see any failure
  maybe these variables aren't really used?

* use STAGING_LIBDIR_NATIVE variable which uses correct ${libdir_native}

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar LIBCLANG_PATH -r uutils-coreutils
  #
  # $LIBCLANG_PATH [2 operations]
  #   exported /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     [export] "1"
  #   set /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     "${WORKDIR}/recipe-sysroot-native${libdir}"
  # pre-expansion value:
  #   "${WORKDIR}/recipe-sysroot-native${libdir}"
export LIBCLANG_PATH="/OE/build/oe-core/tmp/work/cortexa57-oe-linux/uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib64"

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar STAGING_LIBDIR_NATIVE -r uutils-coreutils
  #
  # $STAGING_LIBDIR_NATIVE
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:425
  #     "${STAGING_DIR_NATIVE}${libdir_native}"
STAGING_LIBDIR_NATIVE="/OE/build/oe-core/tmp/work/cortexa57-oe-linux/uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib"

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar LIBCLANG_PATH -r lib32-uutils-coreutils
  #
  # $LIBCLANG_PATH [2 operations]
  #   exported /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     [export] "1"
  #   set /OE/build/oe-core/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.29.bb:33
  #     "${WORKDIR}/recipe-sysroot-native${libdir}"
  # pre-expansion value:
  #   "${WORKDIR}/recipe-sysroot-native${libdir}"
export LIBCLANG_PATH="/OE/build/oe-core/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib32"

OE qemuarm64-multilib@ /OE/build/oe-core $ bitbake-getvar STAGING_LIBDIR_NATIVE -r lib32-uutils-coreutils
  #
  # $STAGING_LIBDIR_NATIVE
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:425
  #     "${STAGING_DIR_NATIVE}${libdir_native}"
STAGING_LIBDIR_NATIVE="/OE/build/oe-core/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-uutils-coreutils/0.0.29/recipe-sysroot-native/usr/lib"

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
Etienne Cordonnier b704ebe7ed uutils-coreutils: upgrade 0.0.28 -> 0.0.29
See https://github.com/uutils/coreutils/releases/tag/0.0.29

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 07:40:38 -08:00
Wang Mingyu 2866036261 uutils-coreutils: upgrade 0.0.27 -> 0.0.28
Changelog:
 https://github.com/uutils/coreutils/releases/tag/0.0.28

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:15 -08:00
Etienne Cordonnier deca9342ab uutils-coreutils: disable buildpaths error
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:15 -07:00
Etienne Cordonnier a98c30b012 uutils-coreutils: upgrade 0.0.26 -> 0.0.27
See https://github.com/uutils/coreutils/releases/tag/0.0.27

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-27 09:18:47 -07:00
Etienne Cordonnier 88f2955e38 uutils-coreutils: upgrade 0.0.25 -> 0.0.26
See https://github.com/uutils/coreutils/releases/tag/0.0.26

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-02 07:32:55 -07:00
Etienne Cordonnier 2a73de83bf uutils-coreutils: upgrade 0.0.24 -> 0.0.25
See https://github.com/uutils/coreutils/releases/tag/0.0.25

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 17:54:03 -07:00
Etienne Cordonnier 0bea9feffc uutils_coreutils: merge .inc and .bb
I initially created a separated .inc file to follow poky's convention, but according to
https://lists.openembedded.org/g/openembedded-core/message/193940 the presence
of unneeded .inc files is only due to historical reasons and there is no need to
follow this convention any more.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-27 09:48:33 -08:00
Etienne Cordonnier 1d125e1779 uutils-coreutils: upgrade 0.0.23 -> 0.0.24
See https://github.com/uutils/coreutils/releases/tag/0.0.24

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-27 09:48:32 -08:00
alperak 3282b78470 uutils-coreutils: upgrade 0.0.22 -> 0.0.23
Changelog:

https://github.com/uutils/coreutils/releases/tag/0.0.23

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-17 11:38:25 -08:00
Etienne Cordonnier b3f085e6a2 uutils-coreutils: upgrade 0.0.21 -> 0.0.22
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-24 09:08:45 -07:00
Etienne Cordonnier 074fb0411d uutils-coreutils: upgrade 0.0.20 -> 0.0.21
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-11 08:25:05 -07:00
Sourav Kumar Pramanik 3da59b8a8a meta-oe-components: Avoid usage of nobranch=1
The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1 for these components.

Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Etienne Cordonnier c5df8a7772 uutils-coreutils: upgrade 0.0.19 -> 0.0.20
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-20 19:08:56 -07:00
Etienne Cordonnier 8d38aec39c uutils-coreutils: upgrade 0.0.18 -> 0.0.19
Note: the removal of "name=XXX" in the crates.inc file is normal
and due to a change in cargo-update-recipe-crates.bbclass in poky.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-07 09:31:32 -07:00
Etienne Cordonnier 6b197f009d uutils-coreutils: disable musl support
musl is not supported because the libc crate does not support functions like "endutxent" at the moment,
so src/uucore/src/lib/features.rs disables utmpx when targetting musl.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Etienne Cordonnier 4ee5e2badb uutils-coreutils: upgrade 0.0.17 -> 0.0.18
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Etienne Cordonnier 1854b495bb uutils-coreutils: remove obsolete comment
This comment does not make sense any more, now that the auto-generated
recipe has been removed.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Etienne Cordonnier 55074903fe uutils-coreutils: Add crates checksum
Commit 93d691d58c did not add the crates checksum (even though the commit message
says it did), and the crates fetcher is now failing with "No checksum
specified".

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Frederic Martinsons 93d691d58c uutils-coreutils: Add crates checksum and use cargo-update-recipes-crates
This is related to checksum verification introduction in bitbake
crate fetcher:
https://patchwork.yoctoproject.org/project/bitbake/patch/20230315131513.50635-1-frederic.martinsons@gmail.com/

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-17 07:06:56 -07:00
Etienne Cordonnier eec98799a2 uutils-coreutils: upgrade 0.0.16 -> 0.0.17
Signed-off-by: Etienne Cordonnier <ecordonnier@snapchat.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-23 07:31:54 -08:00
Etienne Cordonnier 19963d1f5f uutils-coreutils: upgrade 0.0.15 -> 0.0.16
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-18 15:06:37 -07:00
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