]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
util-linux: add selinux PACKAGECONFIG
authorMingli Yu <mingli.yu@windriver.com>
Thu, 24 Nov 2022 10:17:11 +0000 (18:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Nov 2022 23:54:45 +0000 (23:54 +0000)
Add selinux 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-core/util-linux/util-linux_2.38.1.bb

index 50ecc106ddd4e7451b321bdeb3e2ba14df661090..9ea7a04e8a1fd13cf864c564d9ef29e0905fa662 100644 (file)
@@ -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}'"