summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/uutils-coreutils
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | 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>
* uutils-coreutils: upgrade 0.0.30 -> 0.1.0Etienne Cordonnier2025-05-273-242/+456
| | | | | | | | | | | | 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>
* uutils-coreutils: Simplify configuration of selinux supportPeter Kjellerstedt2025-04-241-6/+2
| | | | | | | Also correct a comment. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: fix selinux PACKAGECONFIG optionEtienne Cordonnier2025-04-151-1/+1
| | | | | | | | 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>
* recipes: Fix variable assignment whitespaceRichard Purdie2025-03-201-1/+1
| | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: upgrade 0.0.29 -> 0.0.30Etienne Cordonnier2025-03-102-327/+345
| | | | | | | 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>
* uutils-coreutils: disable stdbuf compilationEtienne Cordonnier2025-03-082-4/+41
| | | | | | | | | | | | 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>
* uutils-coreutils: remove LIBCLANG_PATH, SELINUX_LIB_DIR, SELINUX_INCLUDE_DIR ↵Martin Jansa2025-03-061-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* uutils-coreutils: use correct variablesMartin Jansa2025-03-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* uutils-coreutils: upgrade 0.0.28 -> 0.0.29Etienne Cordonnier2025-01-302-347/+389
| | | | | | | 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>
* uutils-coreutils: upgrade 0.0.27 -> 0.0.28Wang Mingyu2024-11-192-195/+475
| | | | | | | | 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>
* uutils-coreutils: disable buildpaths errorEtienne Cordonnier2024-08-291-0/+3
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: upgrade 0.0.26 -> 0.0.27Etienne Cordonnier2024-06-272-89/+123
| | | | | | | 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>
* uutils-coreutils: upgrade 0.0.25 -> 0.0.26Etienne Cordonnier2024-05-022-41/+67
| | | | | | | 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>
* uutils-coreutils: upgrade 0.0.24 -> 0.0.25Etienne Cordonnier2024-04-022-59/+65
| | | | | | | 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>
* uutils_coreutils: merge .inc and .bbEtienne Cordonnier2024-01-272-57/+55
| | | | | | | | | | 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>
* uutils-coreutils: upgrade 0.0.23 -> 0.0.24Etienne Cordonnier2024-01-272-68/+76
| | | | | | | 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>
* uutils-coreutils: upgrade 0.0.22 -> 0.0.23alperak2023-11-172-29/+31
| | | | | | | | | 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>
* uutils-coreutils: upgrade 0.0.21 -> 0.0.22Etienne Cordonnier2023-10-242-85/+79
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: upgrade 0.0.20 -> 0.0.21Etienne Cordonnier2023-09-112-107/+103
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe-components: Avoid usage of nobranch=1Sourav Kumar Pramanik2023-09-071-1/+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>
* uutils-coreutils: upgrade 0.0.19 -> 0.0.20Etienne Cordonnier2023-07-202-113/+97
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: upgrade 0.0.18 -> 0.0.19Etienne Cordonnier2023-06-072-336/+354
| | | | | | | | 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>
* uutils-coreutils: disable musl supportEtienne Cordonnier2023-04-061-0/+5
| | | | | | | | 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>
* uutils-coreutils: upgrade 0.0.17 -> 0.0.18Etienne Cordonnier2023-04-062-137/+151
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: remove obsolete commentEtienne Cordonnier2023-04-061-1/+0
| | | | | | | | 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>
* uutils-coreutils: Add crates checksumEtienne Cordonnier2023-04-061-267/+538
| | | | | | | | | Commit 93d691d58c1c43 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>
* uutils-coreutils: Add crates checksum and use cargo-update-recipes-cratesFrederic Martinsons2023-03-173-314/+275
| | | | | | | | | 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>
* uutils-coreutils: upgrade 0.0.16 -> 0.0.17Etienne Cordonnier2023-01-231-77/+109
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snapchat.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: upgrade 0.0.15 -> 0.0.16Etienne Cordonnier2022-10-181-71/+60
| | | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: add recipeEtienne Cordonnier2022-08-243-0/+358
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>