Go to file
Trevor Woerner bbef3812ba
libwebsockets: use native sysroot's ssl config
During the compile step, CMake will attempt to generate a test
certificate with openssl-native using a hard-coded path to the openssl
config:

	openssl req -config /etc/ssl/openssl.cnf ...

Thus using the build host's openssl config. If the build host's openssl
is configured with options that openssl-native does not understand or
accept, the test certificate will not be generated:

[log.do_configure on openSUSE 16.0]
	Searching for OpenSSL executable and dlls
	OpenSSL executable: .../build/tmp/work/cortexa53-crypto-oe-linux/libwebsockets/4.5.2/recipe-sysroot-native/usr/bin/openssl
	 GENCERTS = 1
	Generating SSL Certificates for the test-server...
	Error configuring OpenSSL modules
	4037413D467F0000:error:030000A9:digital envelope routines:alg_module_init:unknown option:../sources/openssl-3.5.4/crypto/evp/evp_cnf.c:61:name=rh-allow-sha1-signatures, value=yes
	4037413D467F0000:error:0700006D:configuration file routines:module_run:module initialization error:../sources/openssl-3.5.4/crypto/conf/conf_mod.c:288:module=alg_section, value=evp_properties retcode=-1
	CMake Warning at lib/tls/CMakeLists.txt:528 (message):
	  !!! Failed to generate SSL certificate for Test Server!!!:

	  OpenSSL return code = 1

and the subsequent do_install() step will fail:

	| CMake Error at test-apps/cmake_install.cmake:126 (file):
	|   file INSTALL cannot find
	|   ".../build/tmp/work/cortexa53-crypto-oe-linux/libwebsockets/4.5.2/build/libwebsockets-test-server.key.pem":
	|   No such file or directory.

	ERROR: Task (.../layers/meta-openembedded/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.5.2.bb:do_install) failed with exit code '1'

Fix the location where CMake looks for the openssl.cnf file in order
to use the one that comes with the openssl-native that will be used to
generate the certificate. Thus ensuring that they are in step in terms
of which configuration options will be acceptable.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-02 22:30:12 -08:00
contrib contrib: oe-stylize: Use Python3 explicitly 2023-06-04 22:29:46 -07:00
meta-filesystems overlayfs-tools: upgrade 2024.07 -> 2025.01 2025-12-28 08:14:38 -08:00
meta-gnome gimp: patch CVE-2025-14425 2025-12-31 08:28:49 -08:00
meta-initramfs initramfs-kexecboot-image: Allow supported architectures 2025-12-31 08:28:50 -08:00
meta-multimedia libopenmpt: upgrade 0.7.10 -> 0.8.4 2025-12-25 07:53:23 -08:00
meta-networking python3-scapy: set CVE_PRODUCT 2025-12-31 08:34:04 -08:00
meta-oe libwebsockets: use native sysroot's ssl config 2026-01-02 22:30:12 -08:00
meta-perl libmime-types-perl: upgrade 2.29 -> 2.30 2025-12-21 08:54:02 -08:00
meta-python python3-propcache: Update Cython to version 3.2.3 2026-01-02 22:28:23 -08:00
meta-webserver cockpit: upgrade 349 -> 352 2025-12-11 15:29:44 -08:00
meta-xfce Add missing HOMEPAGEs to xfce recipes 2025-12-21 08:54:05 -08:00
.b4-config Add toplevel b4 config file 2025-04-10 08:31:06 -07:00
.gitignore
COPYING.MIT
README.md layers: Move READMEs to markdown format 2023-06-17 08:30:01 -07:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories