All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-core][PATCHv2] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi
@ 2022-08-28 16:58 Markus Volk
  2022-08-29 11:51 ` Peter Kjellerstedt
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Volk @ 2022-08-28 16:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

This removes wpa_supplicant from packagegroup-base-wifi so that the decision
of which wireless daemon to use can be made within the recipes.
Possible choices 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.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index 7489ef61b0..a70a107dac 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -271,7 +271,7 @@ SUMMARY:packagegroup-base-wifi = "WiFi support"
 RDEPENDS:packagegroup-base-wifi = "\
     iw \
     wireless-regdb-static \
-    wpa-supplicant"
+"
 
 RRECOMMENDS:packagegroup-base-wifi = "\
     ${@bb.utils.contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [oe-core][PATCHv2] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi
  2022-08-28 16:58 [oe-core][PATCHv2] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi Markus Volk
@ 2022-08-29 11:51 ` Peter Kjellerstedt
  2022-08-30  5:55   ` Markus Volk
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Kjellerstedt @ 2022-08-29 11:51 UTC (permalink / raw)
  To: Markus Volk, openembedded-core@lists.openembedded.org

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Markus Volk
> Sent: den 28 augusti 2022 18:59
> To: openembedded-core@lists.openembedded.org
> Cc: Markus Volk <f_l_k@t-online.de>
> Subject: [oe-core][PATCHv2] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi
> 
> This removes wpa_supplicant from packagegroup-base-wifi so that the
> decision of which wireless daemon to use can be made within the recipes.
> Possible choices 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.
> 
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
> index 7489ef61b0..a70a107dac 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-base.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
> @@ -271,7 +271,7 @@ SUMMARY:packagegroup-base-wifi = "WiFi support"
>  RDEPENDS:packagegroup-base-wifi = "\
>      iw \
>      wireless-regdb-static \
> -    wpa-supplicant"
> +"

Rather than removing wpa-supplicant, which breaks backwards 
compatibility and expectations, wouldn't it make more sense to
introduce a variable for the wireless service, and default it 
to wpa-supplicant. Then there is no breakage for those who 
expect packagegroup-base-wifi to pull in wpa-supplicant, but 
those who want to use iwd can easily change the configuration 
in their distros. 

> 
>  RRECOMMENDS:packagegroup-base-wifi = "\
>      ${@bb.utils.contains('COMBINED_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \
> --
> 2.34.1

//Peter


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [oe-core][PATCHv2] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi
  2022-08-29 11:51 ` Peter Kjellerstedt
@ 2022-08-30  5:55   ` Markus Volk
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Volk @ 2022-08-30  5:55 UTC (permalink / raw)
  To: Peter Kjellerstedt; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 539 bytes --]

Am Mo, 29. Aug 2022 um 11:51:45 +0000 schrieb Peter Kjellerstedt 
<peter.kjellerstedt@axis.com>:
> Rather than removing wpa-supplicant, which breaks backwards
> compatibility and expectations, wouldn't it make more sense to
> introduce a variable for the wireless service, and default it
> to wpa-supplicant. Then there is no breakage for those who
> expect packagegroup-base-wifi to pull in wpa-supplicant, but
> those who want to use iwd can easily change the configuration
> in their distros.

Good point. I've sent a new patch for it


[-- Attachment #2: Type: text/html, Size: 700 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-30  5:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-28 16:58 [oe-core][PATCHv2] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi Markus Volk
2022-08-29 11:51 ` Peter Kjellerstedt
2022-08-30  5:55   ` Markus Volk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.