summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-04-25 14:06:48 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:54:42 +0100
commita29b96e3828ecf8a4915856d1e6733a97cd4b89f (patch)
tree119531cc1adc53b34ea119b1e7a1483d3288dcb9 /meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch
parentb9e63d96addd5fa1d69877e9a58e6ea92482e19b (diff)
downloadpoky-a29b96e3828ecf8a4915856d1e6733a97cd4b89f.tar.gz
busybox: upgrade to version 1.18.4
from version 1.17.3 - remove make-382-fix since it's upstreamed (From OE-Core rev: bb92a1852e17232c07658eef013f243ca6780563) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch b/meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch
new file mode 100644
index 0000000000..81bca634af
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.18.4/udhcpscript.patch
@@ -0,0 +1,22 @@
1# copy commit message from OE as the patch comment
2# commit c9bb6478a873d6de4c8a0e712435ac9a658a345d
3# Author: Holger Schurig <schurig@mn-solutions.de>
4# Date: Wed Sep 29 08:29:58 2004 +0000
5#
6# udhcpscript: fixes the "deleting routers" error message in case of no existing default routes
7#
8# Above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
9
10Index: busybox-1.15.1/examples/udhcp/simple.script
11===================================================================
12--- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-12 17:55:36.000000000 +0200
13+++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:51:06.599693412 +0200
14@@ -22,7 +22,7 @@ case "$1" in
15
16 if [ -n "$router" ] ; then
17 echo "Deleting routers"
18- while route del default gw 0.0.0.0 dev $interface ; do
19+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
20 :
21 done
22