On Wed, 2021-09-08 at 16:05 +0800, Yu, Mingli wrote:
> From: Mingli Yu <[email protected]>
> 
> Add pkgconfig setting for selinux.
> 
> Signed-off-by: Mingli Yu <[email protected]>
> ---
>  meta/recipes-extended/tar/tar_1.34.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-extended/tar/tar_1.34.bb 
> b/meta/recipes-extended/tar/tar_1.34.bb
> index 98755a11cc..a6a417a1a5 100644
> --- a/meta/recipes-extended/tar/tar_1.34.bb
> +++ b/meta/recipes-extended/tar/tar_1.34.bb
> @@ -16,6 +16,7 @@ PACKAGECONFIG ??= ""
>  PACKAGECONFIG:append:class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 
> 'acl', d)}"
>  
>  PACKAGECONFIG[acl] = "--with-posix-acls,--without-posix-acls,acl"
> +PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
>  
>  EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
>  

This breaks one of the selftests, you could reproduce with

oe-selftest -r 
oescripts.OEListPackageconfigTests.test_packageconfig_flags_default

however I've added a patch to fix it.

Cheers,

Richard



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

Reply via email to