sudo: add selinux and audit PACKAGECONFIG
PATCH 1/5 sudo: add selinux and audit PACKAGECONFIG
From: Mingli Yu <[email protected]>
Add selinux and audit PACKAGECONFIG logic in selinux layer[1] to conform to yocto compliance.
[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd
--- meta/recipes-extended/sudo/sudo.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-extended/sudo/sudo.inc +2 -0
@@ -23,6 +23,8 @@ inherit autotools PACKAGECONFIG ??= "" PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" +PACKAGECONFIG[audit] = "--with-linux-audit,--without-linux-audit,audit" +PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor"
Signature · 1 line
2.25.1
PATCH 2/5 iproute2: add selinux PACKAGECONFIG
From: Mingli Yu <[email protected]>
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform to yocto compliance.
[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd
--- meta/recipes-connectivity/iproute2/iproute2_6.0.0.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-connectivity/iproute2/iproute2_6.0.0.bb +1 -0
@@ -24,6 +24,7 @@ PACKAGECONFIG[tipc] = ",,libmnl," PACKAGECONFIG[elf] = ",,elfutils," PACKAGECONFIG[devlink] = ",,libmnl," PACKAGECONFIG[rdma] = ",,libmnl," +PACKAGECONFIG[selinux] = ",,libselinux" IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}"
Signature · 1 line
2.25.1
PATCH 3/5 util-linux: add selinux PACKAGECONFIG
In reply to [email protected]From: Mingli Yu <[email protected]>
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform to yocto compliance.
[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd
--- meta/recipes-core/util-linux/util-linux_2.38.1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/util-linux/util-linux_2.38.1.bb +1 -0
@@ -107,6 +107,7 @@ PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[pcre2] = ",,libpcre2" PACKAGECONFIG[cryptsetup] = "--with-cryptsetup,--without-cryptsetup,cryptsetup" PACKAGECONFIG[chfn-chsh] = "--enable-chfn-chsh,--disable-chfn-chsh," +PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'"
Signature · 1 line
2.25.1
PATCH 4/5 cronie: add selinux PACKAGECONFIG
In reply to [email protected]From: Mingli Yu <[email protected]>
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform to yocto compliance.
[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd
--- meta/recipes-extended/cronie/cronie_1.6.1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/cronie/cronie_1.6.1.bb +1 -0
@@ -35,6 +35,7 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit," PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,${PAM_DEPS}" PACKAGECONFIG[anacron] = "--enable-anacron,--disable-anacron,anacron" +PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" INITSCRIPT_NAME = "crond" INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
Signature · 1 line
2.25.1
PATCH 5/5 psmisc: add selinux PACKAGECONFIG
In reply to [email protected]From: Mingli Yu <[email protected]>
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform to yocto compliance.
[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd
--- meta/recipes-extended/psmisc/psmisc.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/psmisc/psmisc.inc +1 -0
@@ -26,6 +26,7 @@ do_configure:prepend() { PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," +PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" ALLOW_EMPTY:${PN} = "1"
Signature · 1 line
2.25.1