]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
coreutils: add openssl PACKAGECONFIG
authorDaniel McGregor <daniel.mcgregor@vecima.com>
Wed, 28 Sep 2022 22:13:18 +0000 (16:13 -0600)
committerSteve Sakoman <steve@sakoman.com>
Fri, 4 Nov 2022 17:52:01 +0000 (07:52 -1000)
coreutils-native will pick up openssl on the host if it's GPL
compatible (version >= 3), which causes uninative failures with hosts
that don't have openssl3.

Add a PACKAGECONFIG entry for openssl so it can be enabled, but isn't
by default.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9859a8124a0c09ac38d476445e7df7097f41d153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/coreutils/coreutils_8.31.bb

index 3d569881e8270a447a0d7afd523cac75a9db242e..3841f71155da199ed8e8cb68527a56e4650bd967 100644 (file)
@@ -51,6 +51,7 @@ PACKAGECONFIG_class-nativesdk ??= "xattr"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
 PACKAGECONFIG[single-binary] = "--enable-single-binary,--disable-single-binary,,"
+PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no,openssl"
 
 # [ df mktemp nice printenv base64 gets a special treatment and is not included in this
 bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \