diff options
| author | Etienne Cordonnier <ecordonnier@snap.com> | 2025-04-12 22:53:06 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-15 12:52:17 -0700 |
| commit | c5a8eddd99da145983189179bd5b5c87b3444ea0 (patch) | |
| tree | 05f626320e03ccfa99360a7abf880bce6898b486 | |
| parent | bb896f6b6f92863e8f5c49e5a1f7d9bcb2578db0 (diff) | |
| download | meta-openembedded-c5a8eddd99da145983189179bd5b5c87b3444ea0.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb index 08ba434a55..cc4be305d1 100644 --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.30.bb | |||
| @@ -24,7 +24,7 @@ RPROVIDES:${PN} = "coreutils" | |||
| 24 | 24 | ||
| 25 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" | 25 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
| 26 | 26 | ||
| 27 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" | 27 | PACKAGECONFIG[selinux] = ",,libselinux" |
| 28 | 28 | ||
| 29 | CARGO_BUILD_FLAGS += "--features unix" | 29 | CARGO_BUILD_FLAGS += "--features unix" |
| 30 | CARGO_BUILD_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', '--features feat_selinux', '', d)}" | 30 | CARGO_BUILD_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', '--features feat_selinux', '', d)}" |
