summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-11-24 18:17:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-27 23:54:51 +0000
commit8baa36433a15f86a75efef8e112c7156f70dfcfd (patch)
tree2b8891c941febbfba6a4df111565d71ad59edef5 /meta
parent1505d86fa2f449cdc8dc100c1111bcf454bdcd5c (diff)
downloadpoky-8baa36433a15f86a75efef8e112c7156f70dfcfd.tar.gz
sudo: add selinux and audit PACKAGECONFIG
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 (From OE-Core rev: 5c8e22895709a0ce7ce855468473d9d6d10a1e65) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
1 files changed, 2 insertions, 0 deletions
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
23PACKAGECONFIG ??= "" 23PACKAGECONFIG ??= ""
24PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" 24PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
25PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" 25PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel"
26PACKAGECONFIG[audit] = "--with-linux-audit,--without-linux-audit,audit"
27PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
26 28
27EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor" 29EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor"
28 30