[OE-core] [PATCH 5/5] packagegroup-base: pull in iw as well as wireless-tools

Khem Raj raj.khem at gmail.com
Fri Aug 28 05:50:40 UTC 2015


> On Aug 27, 2015, at 11:48 AM, Christopher Larson <kergoth at gmail.com> wrote:
> 
> From: Christopher Larson <chris_larson at mentor.com>
> 
> As was discussed in the commit which adds iw:
> 
> iw uses cfg80211/nl80211, which is the way of the future. wireless-tools uses
> WEXT, which uses ioctl, which is in deep maintenance mode. See
> http://wireless.kernel.org/en/developers/Documentation/Wireless-Extensions.
> Also https://wireless.wiki.kernel.org/en/users/Documentation/iw indicates "The
> old tool iwconfing, which uses Wireless Extensions interface, is deprecated
> and it's strongly recommended to switch to iw and nl80211."
> 
> wireless-tools is kept as well for now for compatibility reasons, until we
> have verified that all the network configuration mechanisms are using iw.
> 
> This adds VIRTUAL-RUNTIME_wireless-tools as a distro convenience.
> 
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> ---
> meta/conf/distro/include/default-providers.inc       | 1 +
> meta/recipes-core/packagegroups/packagegroup-base.bb | 6 +++++-
> 2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
> index 8d92c2e..9f84d5c 100644
> --- a/meta/conf/distro/include/default-providers.inc
> +++ b/meta/conf/distro/include/default-providers.inc
> @@ -22,6 +22,7 @@ VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-opkg"
> VIRTUAL-RUNTIME_apm ?= "apm"
> VIRTUAL-RUNTIME_alsa-state ?= "alsa-state"
> VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt"
> +VIRTUAL-RUNTIME_wireless-tools ?= "iw wireless-tools"
> 
> #
> # Default recipe providers
> diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
> index 262d65f..c5530aa 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-base.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
> @@ -48,6 +48,10 @@ PACKAGES = ' \
> # Override by distro if needed
> VIRTUAL-RUNTIME_keymaps ?= "keymaps"
> 
> +# Override by distro if needed. iw is the future, but wireless-tools is kept
> +# for now as well for compatibility.
> +VIRTUAL-RUNTIME_wireless-tools ?= "iw wireless-tools”

wouldn’t the define from default-providers.inc be enough ?

> +
> #
> # packagegroup-base contain stuff needed for base system (machine related)
> #
> @@ -292,7 +296,7 @@ RRECOMMENDS_packagegroup-base-ipsec = "\
> #
> SUMMARY_packagegroup-base-wifi = "WiFi support"
> RDEPENDS_packagegroup-base-wifi = "\
> -    wireless-tools \
> +    ${VIRTUAL-RUNTIME_wireless-tools} \
>     ${@bb.utils.contains('COMBINED_FEATURES', 'pcmcia', 'hostap-utils', '',d)} \
>     ${@bb.utils.contains('COMBINED_FEATURES', 'pci', 'hostap-utils', '',d)} \
>     wpa-supplicant"
> --
> 2.2.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150827/30d10e09/attachment-0002.sig>


More information about the Openembedded-core mailing list