]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sudo: add selinux and audit PACKAGECONFIG
authorMingli Yu <mingli.yu@windriver.com>
Thu, 24 Nov 2022 10:17:09 +0000 (18:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Nov 2022 23:54:45 +0000 (23:54 +0000)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-extended/sudo/sudo.inc

index fd5bbf103dced3a7d3274cf4c16bcecb75057ad8..498d60d5341c10e372276f57f8d576dc544c6050 100644 (file)
@@ -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"