diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-08-28 13:23:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-01 11:43:58 +0100 |
commit | 79de172a937ee37ae1824ced5d09609b809e4989 (patch) | |
tree | ca9f69d792a002076c5ea803888111985cdb4a8a | |
parent | 464f4e2079e478b6f27351b1254aca49c6882990 (diff) | |
download | poky-79de172a937ee37ae1824ced5d09609b809e4989.tar.gz |
packagegroup-base: pull in iw as well as wireless-tools
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.
(From OE-Core rev: 0c21e207537deb1c0290be631b4b7d84fba32842)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/default-providers.inc | 1 | ||||
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-base.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index 8d92c2e362..9f84d5ced2 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" | |||
22 | VIRTUAL-RUNTIME_apm ?= "apm" | 22 | VIRTUAL-RUNTIME_apm ?= "apm" |
23 | VIRTUAL-RUNTIME_alsa-state ?= "alsa-state" | 23 | VIRTUAL-RUNTIME_alsa-state ?= "alsa-state" |
24 | VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt" | 24 | VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt" |
25 | VIRTUAL-RUNTIME_wireless-tools ?= "iw wireless-tools" | ||
25 | 26 | ||
26 | # | 27 | # |
27 | # Default recipe providers | 28 | # Default recipe providers |
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index 262d65f5dc..9e40b28528 100644 --- a/meta/recipes-core/packagegroups/packagegroup-base.bb +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb | |||
@@ -292,7 +292,7 @@ RRECOMMENDS_packagegroup-base-ipsec = "\ | |||
292 | # | 292 | # |
293 | SUMMARY_packagegroup-base-wifi = "WiFi support" | 293 | SUMMARY_packagegroup-base-wifi = "WiFi support" |
294 | RDEPENDS_packagegroup-base-wifi = "\ | 294 | RDEPENDS_packagegroup-base-wifi = "\ |
295 | wireless-tools \ | 295 | ${VIRTUAL-RUNTIME_wireless-tools} \ |
296 | ${@bb.utils.contains('COMBINED_FEATURES', 'pcmcia', 'hostap-utils', '',d)} \ | 296 | ${@bb.utils.contains('COMBINED_FEATURES', 'pcmcia', 'hostap-utils', '',d)} \ |
297 | ${@bb.utils.contains('COMBINED_FEATURES', 'pci', 'hostap-utils', '',d)} \ | 297 | ${@bb.utils.contains('COMBINED_FEATURES', 'pci', 'hostap-utils', '',d)} \ |
298 | wpa-supplicant" | 298 | wpa-supplicant" |