[openwrt/openwrt] busybox: remove useless busybox patches

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 14 11:01:59 EST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ce4cb8e51d8d4b24267653250c3f7310d208bfaa

commit ce4cb8e51d8d4b24267653250c3f7310d208bfaa
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun Jan 31 16:15:54 2021 -0800

    busybox: remove useless busybox patches
    
    The first two are useless as /bin/sh can execute those scripts just
    fine. Shellcheck reports no problems.
    
    Telnetd patch is useless as telnet is no longer used in OpenWrt.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/utils/busybox/patches/100-trylink_bash.patch         |  8 --------
 package/utils/busybox/patches/101-gen_build_files_bash.patch |  8 --------
 package/utils/busybox/patches/240-telnetd_intr.patch         | 10 ----------
 3 files changed, 26 deletions(-)

diff --git a/package/utils/busybox/patches/100-trylink_bash.patch b/package/utils/busybox/patches/100-trylink_bash.patch
deleted file mode 100644
index f9571fcbc8..0000000000
--- a/package/utils/busybox/patches/100-trylink_bash.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/scripts/trylink
-+++ b/scripts/trylink
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/usr/bin/env bash
- 
- debug=false
- 
diff --git a/package/utils/busybox/patches/101-gen_build_files_bash.patch b/package/utils/busybox/patches/101-gen_build_files_bash.patch
deleted file mode 100644
index d258fb8bc4..0000000000
--- a/package/utils/busybox/patches/101-gen_build_files_bash.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/scripts/gen_build_files.sh
-+++ b/scripts/gen_build_files.sh
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/usr/bin/env bash
- 
- # Note: was using sed OPTS CMD -- FILES
- # but users complain that many sed implementations
diff --git a/package/utils/busybox/patches/240-telnetd_intr.patch b/package/utils/busybox/patches/240-telnetd_intr.patch
deleted file mode 100644
index 773ba44db5..0000000000
--- a/package/utils/busybox/patches/240-telnetd_intr.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/networking/telnetd.c
-+++ b/networking/telnetd.c
-@@ -509,6 +509,7 @@ make_new_session(
- 
- 	/* Restore default signal handling ASAP */
- 	bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
-+	signal(SIGINT, SIG_DFL);
- 
- 	pid = getpid();
- 



More information about the lede-commits mailing list