diff mbox series

[1/5] sudo: add selinux and audit PACKAGECONFIG

Message ID 20221124101713.1789943-1-mingli.yu@eng.windriver.com
State New
Headers show
Series [1/5] sudo: add selinux and audit PACKAGECONFIG | expand

Commit Message

mingli.yu@eng.windriver.com Nov. 24, 2022, 10:17 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

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

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta/recipes-extended/sudo/sudo.inc | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index fd5bbf103d..498d60d534 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -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"