diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2022-11-24 18:17:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-27 23:54:51 +0000 |
commit | 8baa36433a15f86a75efef8e112c7156f70dfcfd (patch) | |
tree | 2b8891c941febbfba6a4df111565d71ad59edef5 /meta/recipes-extended/sudo | |
parent | 1505d86fa2f449cdc8dc100c1111bcf454bdcd5c (diff) | |
download | poky-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/recipes-extended/sudo')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 2 |
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 | |||
23 | PACKAGECONFIG ??= "" | 23 | PACKAGECONFIG ??= "" |
24 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | 24 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" |
25 | PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" | 25 | PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" |
26 | PACKAGECONFIG[audit] = "--with-linux-audit,--without-linux-audit,audit" | ||
27 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux" | ||
26 | 28 | ||
27 | EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor" | 29 | EXTRA_OECONF = "--with-editor=${base_bindir}/vi --with-env-editor" |
28 | 30 | ||