diff options
author | Markus Volk <f_l_k@t-online.de> | 2022-08-30 15:52:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-01 10:14:01 +0100 |
commit | 1eaf64fbe16d2ceb472623c65c961b36aee33608 (patch) | |
tree | bcdd07beee68b8d8f9577a050d6b4ed7b987902b /meta/recipes-connectivity | |
parent | 924854accc46f254b6399fc3cf2613a6597410e3 (diff) | |
download | poky-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-connectivity')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 9a518cdb2b..d7af94f792 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -29,9 +29,9 @@ EXTRA_OECONF += "\ | |||
29 | --disable-polkit \ | 29 | --disable-polkit \ |
30 | " | 30 | " |
31 | # For smooth operation it would be best to start only one wireless daemon at a time. | 31 | # For smooth operation it would be best to start only one wireless daemon at a time. |
32 | # If wpa_supplicant is running, connman will use it preferentially. | 32 | # If wpa-supplicant is running, connman will use it preferentially. |
33 | # Select either wpa_supplicant or iwd | 33 | # Select either wpa-supplicant or iwd |
34 | WIRELESS_DAEMON ??= "wpa_supplicant" | 34 | WIRELESS_DAEMON ??= "wpa-supplicant" |
35 | 35 | ||
36 | PACKAGECONFIG ??= "wispr iptables client\ | 36 | PACKAGECONFIG ??= "wispr iptables client\ |
37 | ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd', d)} \ | 37 | ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd', d)} \ |
@@ -47,7 +47,7 @@ PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_system_unitdir}/ --wit | |||
47 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi" | 47 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi" |
48 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" | 48 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" |
49 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" | 49 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" |
50 | PACKAGECONFIG[wpa_supplicant] = ",,wpa-supplicant,wpa-supplicant" | 50 | PACKAGECONFIG[wpa-supplicant] = ",,wpa-supplicant,wpa-supplicant" |
51 | PACKAGECONFIG[iwd] = "--enable-iwd,--disable-iwd,,iwd" | 51 | PACKAGECONFIG[iwd] = "--enable-iwd,--disable-iwd,,iwd" |
52 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," | 52 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," |
53 | PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn" | 53 | PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn" |