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>
This commit is contained in:
Etienne Cordonnier 2025-04-12 22:53:06 +02:00 committed by Khem Raj
parent bb896f6b6f
commit c5a8eddd99
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -24,7 +24,7 @@ RPROVIDES:${PN} = "coreutils"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
PACKAGECONFIG[selinux] = ",,libselinux"
CARGO_BUILD_FLAGS += "--features unix"
CARGO_BUILD_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', '--features feat_selinux', '', d)}"