From: Mingli Yu <[email protected]>

When enable meta-gplv2 layer [1], there comes below error:
  ERROR: coreutils-6.9-r5 do_configure: QA Issue: coreutils: configure was 
passed unrecognised options: --without-selinux [unknown-configure-option]
  ERROR: coreutils-6.9-r5 do_configure: Fatal QA errors found, failing task.

It's because the old version of coreutils under meta-gplv2 layer
doesn't support the above configure option, so move the related
pkgconfig setting to the coreutils recipe under oe-core [2] which
supports the configure option to fix the gap.

And the findutils and tar also have the problem.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-gplv2/
[2] https://git.openembedded.org/openembedded-core/

Signed-off-by: Mingli Yu <[email protected]>
---
 recipes-core/coreutils/coreutils_%.bbappend     | 1 -
 recipes-extended/findutils/findutils_%.bbappend | 1 -
 recipes-extended/tar/tar_selinux.inc            | 2 --
 3 files changed, 4 deletions(-)

diff --git a/recipes-core/coreutils/coreutils_%.bbappend 
b/recipes-core/coreutils/coreutils_%.bbappend
index 138c23a..74e22b3 100644
--- a/recipes-core/coreutils/coreutils_%.bbappend
+++ b/recipes-core/coreutils/coreutils_%.bbappend
@@ -1,2 +1 @@
 inherit ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'enable-selinux', 
'', d)}
-PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
diff --git a/recipes-extended/findutils/findutils_%.bbappend 
b/recipes-extended/findutils/findutils_%.bbappend
index 138c23a..74e22b3 100644
--- a/recipes-extended/findutils/findutils_%.bbappend
+++ b/recipes-extended/findutils/findutils_%.bbappend
@@ -1,2 +1 @@
 inherit ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'enable-selinux', 
'', d)}
-PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
diff --git a/recipes-extended/tar/tar_selinux.inc 
b/recipes-extended/tar/tar_selinux.inc
index 0f64298..8c11cac 100644
--- a/recipes-extended/tar/tar_selinux.inc
+++ b/recipes-extended/tar/tar_selinux.inc
@@ -1,3 +1 @@
 inherit enable-selinux
-
-PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
-- 
2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#54705): https://lists.yoctoproject.org/g/yocto/message/54705
Mute This Topic: https://lists.yoctoproject.org/mt/85565845/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to