summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups/packagegroup-base.bb
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2022-08-30 15:52:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-01 10:14:01 +0100
commit1eaf64fbe16d2ceb472623c65c961b36aee33608 (patch)
treebcdd07beee68b8d8f9577a050d6b4ed7b987902b /meta/recipes-core/packagegroups/packagegroup-base.bb
parent924854accc46f254b6399fc3cf2613a6597410e3 (diff)
downloadpoky-1eaf64fbe16d2ceb472623c65c961b36aee33608.tar.gz
packagegroup-base.bb: add a configure option to set the wireless-daemon
Possible options would be wpa-supplicant or iwd. iwd is a wireless daemon written by intel and supported by all major network managers. It can be run in standalone mode and configured with 'iwctl' from the terminal, and with 'iwgtk' or 'iwdgui' from the gui. It can also work as a wpa_supplicant drop-in replacement for network-manager, connman or systemd-networkd. iwd makes heavy use of the kernel api, so it is not portable but does not need additional external libraries like openssl. The PACKAGECONFIG name for wpa-supplicant in the connman recipe is changed accordingly, so that it also works there when WIRELESS_DAEMON is set globally. (From OE-Core rev: c54f3847349173ed3a8e77a5c2732e1bbcddd540) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups/packagegroup-base.bb')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-base.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index 7489ef61b0..d60e177471 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -267,11 +267,14 @@ RRECOMMENDS:packagegroup-base-ipsec = "\
267# packagegroup-base-wifi contain everything needed to get WiFi working 267# packagegroup-base-wifi contain everything needed to get WiFi working
268# WEP/WPA connection needs to be supported out-of-box 268# WEP/WPA connection needs to be supported out-of-box
269# 269#
270# Choose either 'wpa-supplicant' or 'iwd' as wireless-daemon
271WIRELESS_DAEMON ??= "wpa-supplicant"
270SUMMARY:packagegroup-base-wifi = "WiFi support" 272SUMMARY:packagegroup-base-wifi = "WiFi support"
271RDEPENDS:packagegroup-base-wifi = "\ 273RDEPENDS:packagegroup-base-wifi = "\
272 iw \ 274 iw \
273 wireless-regdb-static \ 275 wireless-regdb-static \
274 wpa-supplicant" 276 ${WIRELESS_DAEMON} \
277"
275 278
276RRECOMMENDS:packagegroup-base-wifi = "\ 279RRECOMMENDS:packagegroup-base-wifi = "\
277 ${@bb.utils.contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \ 280 ${@bb.utils.contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \