* [PATCH 1/3] coreutils: add pkgconfig for selinux
@ 2021-09-08 8:05 Yu, Mingli
2021-09-08 8:05 ` [PATCH 2/3] findutils: " Yu, Mingli
2021-09-08 8:05 ` [PATCH 3/3] tar: " Yu, Mingli
0 siblings, 2 replies; 4+ messages in thread
From: Yu, Mingli @ 2021-09-08 8:05 UTC (permalink / raw)
To: openembedded-core
From: Mingli Yu <mingli.yu@windriver.com>
Add pkgconfig setting for selinux.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
meta/recipes-core/coreutils/coreutils_8.32.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/coreutils/coreutils_8.32.bb b/meta/recipes-core/coreutils/coreutils_8.32.bb
index f82572ed52..01acf9a874 100644
--- a/meta/recipes-core/coreutils/coreutils_8.32.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.32.bb
@@ -52,6 +52,7 @@ PACKAGECONFIG:class-nativesdk ??= "xattr"
PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
PACKAGECONFIG[single-binary] = "--enable-single-binary,--disable-single-binary,,"
+PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
# [ df mktemp nice printenv base64 gets a special treatment and is not included in this
bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] findutils: add pkgconfig for selinux
2021-09-08 8:05 [PATCH 1/3] coreutils: add pkgconfig for selinux Yu, Mingli
@ 2021-09-08 8:05 ` Yu, Mingli
2021-09-08 8:05 ` [PATCH 3/3] tar: " Yu, Mingli
1 sibling, 0 replies; 4+ messages in thread
From: Yu, Mingli @ 2021-09-08 8:05 UTC (permalink / raw)
To: openembedded-core
From: Mingli Yu <mingli.yu@windriver.com>
Add pkgconfig setting for selinux.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
meta/recipes-extended/findutils/findutils_4.8.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-extended/findutils/findutils_4.8.0.bb b/meta/recipes-extended/findutils/findutils_4.8.0.bb
index 675e53c0da..d8ccf4b8e1 100644
--- a/meta/recipes-extended/findutils/findutils_4.8.0.bb
+++ b/meta/recipes-extended/findutils/findutils_4.8.0.bb
@@ -8,6 +8,7 @@ DEPENDS = "bison-native"
SRC_URI[sha256sum] = "57127b7e97d91282c6ace556378d5455a9509898297e46e10443016ea1387164"
+PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
# http://savannah.gnu.org/bugs/?27299
CACHED_CONFIGUREVARS += "gl_cv_func_wcwidth_works=yes"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] tar: add pkgconfig for selinux
2021-09-08 8:05 [PATCH 1/3] coreutils: add pkgconfig for selinux Yu, Mingli
2021-09-08 8:05 ` [PATCH 2/3] findutils: " Yu, Mingli
@ 2021-09-08 8:05 ` Yu, Mingli
2021-09-10 8:27 ` [OE-core] " Richard Purdie
1 sibling, 1 reply; 4+ messages in thread
From: Yu, Mingli @ 2021-09-08 8:05 UTC (permalink / raw)
To: openembedded-core
From: Mingli Yu <mingli.yu@windriver.com>
Add pkgconfig setting for selinux.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
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}"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH 3/3] tar: add pkgconfig for selinux
2021-09-08 8:05 ` [PATCH 3/3] tar: " Yu, Mingli
@ 2021-09-10 8:27 ` Richard Purdie
0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2021-09-10 8:27 UTC (permalink / raw)
To: Yu, Mingli, openembedded-core
On Wed, 2021-09-08 at 16:05 +0800, Yu, Mingli wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> Add pkgconfig setting for selinux.
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-10 8:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 8:05 [PATCH 1/3] coreutils: add pkgconfig for selinux Yu, Mingli
2021-09-08 8:05 ` [PATCH 2/3] findutils: " Yu, Mingli
2021-09-08 8:05 ` [PATCH 3/3] tar: " Yu, Mingli
2021-09-10 8:27 ` [OE-core] " Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.