Skip to contentSkip to conversation

wireless-tools: remove the recipe

PATCH New Alexander Kanavin 1 participant 1 message May 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wireless-tools: remove the recipe

wireless-tools have been obsolete and superseded by iw for a very long time.

I've checked that images continue to boot and the graphical connman frontend is still able to list wireless networks; there is no evidence that wireless-tools are needed by anything.

[YOCTO #12727]

---
 .../conf/distro/include/default-providers.inc |  1 -
 meta/conf/distro/include/maintainers.inc      |  1 -
 .../wireless-tools/avoid_strip.patch          | 21 --------
 .../wireless-tools/ldflags.patch              | 22 --------
 .../wireless-tools/wireless-tools/man.patch   | 15 ------
 .../wireless-tools/remove.ldconfig.call.patch | 19 -------
 .../wireless-tools/wireless-tools_30.pre9.bb  | 50 -------------------
 .../packagegroups/packagegroup-base.bb        |  2 +-
 8 files changed, 1 insertion(+), 130 deletions(-)
 delete mode 100644 meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch
 delete mode 100644 meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
 delete mode 100644 meta/recipes-connectivity/wireless-tools/wireless-tools/man.patch
 delete mode 100644 meta/recipes-connectivity/wireless-tools/wireless-tools/remove.ldconfig.call.patch
 delete mode 100644 meta/recipes-connectivity/wireless-tools/wireless-tools_30.pre9.bb
meta/conf/distro/include/default-providers.inc +0 -1
index e65c1ed323d..779b03d50cf 100644
@@ -23,7 +23,6 @@ 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"
 VIRTUAL-RUNTIME_base-utils ?= "busybox"
 VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock"
 
meta/conf/distro/include/maintainers.inc +0 -1
index 6d6c148de88..f24e482abe5 100644
@@ -712,7 +712,6 @@ RECIPE_MAINTAINER_pn-weston-init = "Denys Dmytriyenko <[email protected]>"
 RECIPE_MAINTAINER_pn-wget = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-which = "Maxin B. John <[email protected]>"
 RECIPE_MAINTAINER_pn-wic-tools = "Chang Rebecca Swee Fun <[email protected]>"
-RECIPE_MAINTAINER_pn-wireless-tools = "Changhyeok Bae <[email protected]>"
 RECIPE_MAINTAINER_pn-wpa-supplicant = "Changhyeok Bae <[email protected]>"
 RECIPE_MAINTAINER_pn-x11-common = "Armin Kuster <[email protected]>"
 RECIPE_MAINTAINER_pn-x11perf = "Armin Kuster <[email protected]>"
meta/recipes-connectivity/wireless-tools/wireless-tools/avoid_strip.patch deleted +0 -21
deleted file mode 100644
index f34e243de99..00000000000
@@ -1,21 +0,0 @@
-wireless_tools: Avoid stripping iwmulticall
-
-Upstream-Status: Inappropriate [other]
-  The removed code was from upstream.
-
-Signed-off-by: Mark Hatle <[email protected]>
-
-diff -ur wireless_tools.29.orig/Makefile wireless_tools.29/Makefile
---- wireless_tools.29.orig/Makefile	2011-06-18 11:35:12.183907453 -0500
-+++ wireless_tools.29/Makefile	2011-06-18 11:38:09.995907985 -0500
-@@ -135,9 +135,8 @@
- 
- macaddr: macaddr.o $(IWLIB)
- 
--# Always do symbol stripping here
- iwmulticall: iwmulticall.o
--	$(CC) $(LDFLAGS) -Wl,-s $(XCFLAGS) -o $@ $^ $(LIBS)
-+	$(CC) $(LDFLAGS) $(STRIPFLAGS) $(XCFLAGS) -o $@ $^ $(LIBS)
- 
- # It's a kind of magic...
- wireless.h:
meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch deleted +0 -22
deleted file mode 100644
index 6c0d8cbd2e4..00000000000
@@ -1,22 +0,0 @@
-wireless-tools: Remove QA warning: No GNU_HASH in the elf binary
-
-Upstream-Status: Inappropriate [other]
-  Useful within bitbake environment only.
-
-Signed-off-by: Muhammad Shakeel <[email protected]>
-
----
- Makefile |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- wireless_tools.29.orig/Makefile
-+++ wireless_tools.29/Makefile
-@@ -144,7 +144,7 @@ wireless.h:
- 
- # Compilation of the dynamic library
- $(DYNAMIC): $(OBJS:.o=.so)
--	$(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
-+	$(CC) -shared -o $@ -Wl,-soname,$@ $(LDFLAGS) $(STRIPFLAGS) $(LIBS) -lc $^
- 
- # Compilation of the static library
- $(STATIC): $(OBJS:.o=.so)
meta/recipes-connectivity/wireless-tools/wireless-tools/man.patch deleted +0 -15
deleted file mode 100644
index 6a757dae763..00000000000
@@ -1,15 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-Index: wireless_tools.30/Makefile
-===================================================================
---- wireless_tools.30.orig/Makefile	2014-02-01 00:21:04.148463382 -0800
-+++ wireless_tools.30/Makefile	2014-02-01 00:23:35.448072279 -0800
-@@ -76,7 +76,7 @@
- INSTALL_DIR= $(PREFIX)/sbin
- INSTALL_LIB= $(PREFIX)/lib
- INSTALL_INC= $(PREFIX)/include
--INSTALL_MAN= $(PREFIX)/man
-+INSTALL_MAN= $(PREFIX)/share/man
- 
- # Various commands
- RM = rm -f
meta/recipes-connectivity/wireless-tools/wireless-tools/remove.ldconfig.call.patch deleted +0 -19
deleted file mode 100644
index 3a22c3f1e70..00000000000
@@ -1,19 +0,0 @@
-When /etc/ld.so.cache is writeable by user running bitbake then it creates invalid cache 
-(in my case libstdc++.so cannot be found after building zlib(-native) and I have to call 
-touch */libstdc++.so && /sbin/ldconfig to fix it.
-
-So remove ldconfig call from make install-libs
-
-Upstream-Status: Inappropriate [disable feature]
-
-diff -uNr wireless_tools.29.orig/Makefile wireless_tools.29/Makefile
---- wireless_tools.29.orig/Makefile	2007-09-18 01:56:46.000000000 +0200
-+++ wireless_tools.29/Makefile	2012-02-15 20:46:41.780763514 +0100
-@@ -163,7 +163,6 @@
- 	install -m 755 $(DYNAMIC) $(INSTALL_LIB)
- 	ln -sfn $(DYNAMIC) $(INSTALL_LIB)/$(DYNAMIC_LINK)
- 	@echo "*** Don't forget to add $(INSTALL_LIB) to /etc/ld.so.conf, and run ldconfig as root. ***"
--	@$(LDCONFIG) || echo "*** Could not run ldconfig ! ***"
- 
- # Install the static library
- install-static:: $(STATIC)
meta/recipes-connectivity/wireless-tools/wireless-tools_30.pre9.bb deleted +0 -50

50 lines not on this page · raw message

meta/recipes-core/packagegroups/packagegroup-base.bb +1 -1
index bb192aed29e..442201c9efa 100644
@@ -289,7 +289,7 @@ RRECOMMENDS_packagegroup-base-ipsec = "\
 #
 SUMMARY_packagegroup-base-wifi = "WiFi support"
 RDEPENDS_packagegroup-base-wifi = "\
-    ${VIRTUAL-RUNTIME_wireless-tools} \
+    iw \
     wpa-supplicant"
 
 RRECOMMENDS_packagegroup-base-wifi = "\
Signature · 1 line
2.17.0