coreutils: add pkgconfig for selinux
PATCH 1/3 coreutils: add pkgconfig for selinux
From: Mingli Yu <[email protected]>
Add pkgconfig setting for selinux.
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-core/coreutils/coreutils_8.32.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/coreutils/coreutils_8.32.bb +1 -0
@@ -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 \
Signature · 1 line
2.17.1
PATCH 2/3 findutils: add pkgconfig for selinux
From: Mingli Yu <[email protected]>
Add pkgconfig setting for selinux.
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-extended/findutils/findutils_4.8.0.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/findutils/findutils_4.8.0.bb +1 -0
@@ -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"
Signature · 1 line
2.17.1
PATCH 3/3 tar: add pkgconfig for selinux
In reply to Yu, MingliFrom: 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(+)
meta/recipes-extended/tar/tar_1.34.bb +1 -0
@@ -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}"
Signature · 1 line
2.17.1
Re: [OE-core] [PATCH 3/3] tar: add pkgconfig for selinux
Quoted 14 lines · Mingli
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(+)meta/recipes-extended/tar/tar_1.34.bb +0
-0
meta/recipes-extended/tar/tar_1.34.bb PACKAGECONFIG ??= "" · line 22
Quoted 7 lines
meta/recipes-extended/tar/tar_1.34.bb +1
-0@@ -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