Fixed
Created: Dec 18, 2017
Updated: Dec 3, 2018
Resolved Date: Dec 25, 2017
Previous ID: LIN8-8371
Found In Version: 9.0.0.12
Fix Version: 9.0.0.14
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Networking
I want to change wpa-supplicant package from GnuTLS to OpenSSL.
However, I was not able to change it by the following steps.
(1) Add the following line at the end of the <Platform Project>_prj/local.conf
PACKAGECONFIG_pn-wpa-supplicant = "openssl"
(2) Re-build wpa-supplicant and project as the below.
make wpa-supplicant.distclean
make wpa-supplicant
make
(3) Bootup WRLinux
(4) Check the library that be linlled to usr/sbin/wpa_supplicant
As a result, the gnutls library such as libgnutls.so.28 is linked.
# ldd /usr/sbin/wpa_supplicant
linux-vdso.so.1 (0x00007ffe8d1b7000)
librt.so.1 => /lib64/librt.so.1 (0x00007f9decc95000)
libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00007f9deca77000)
libnl-genl-3.so.200 => /usr/lib64/libnl-genl-3.so.200 (0x00007f9dec871000)
libgnutls.so.28 => /usr/lib64/libgnutls.so.28 (0x00007f9dec557000)
libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007f9dec278000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f9dec032000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9debc8e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9deba71000)
libm.so.6 => /lib64/libm.so.6 (0x00007f9deb773000)
libz.so.1 => /lib64/libz.so.1 (0x00007f9deb55e000)
libnettle.so.6 => /usr/lib64/libnettle.so.6 (0x00007f9deb327000)
libhogweed.so.4 => /usr/lib64/libhogweed.so.4 (0x00007f9deb0f3000)
libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f9deae7e000)
libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f9deac6c000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f9deaa68000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9dece9d000)
To work around the issue, change the following in layers/wrlinux/conf/distro/wrlinux-common.inc:
- PACKAGECONFIG_pn-wpa-supplicant = "${@base_contains('INCOMPATIBLE_LICENSE', 'GPLv3', 'openssl', 'gnutls', d)}"
+ PACKAGECONFIG_pn-wpa-supplicant = "openssl"
Please see Description.