diff options
author | Denis Carikli <denis@eukrea.com> | 2011-09-06 09:39:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-07 22:54:14 +0100 |
commit | e691f43161191a9e93105a0f1e0155bcdc9b6d06 (patch) | |
tree | bb2db282cd4aa6af18f0361959aaa6162ba71506 /meta/recipes-core/busybox/busybox-1.18.5/udhcpscript.patch | |
parent | 93ca6d36a525c5d8e6c99f53bb1d03b5d862cbf7 (diff) | |
download | poky-e691f43161191a9e93105a0f1e0155bcdc9b6d06.tar.gz |
busybox: update to 1.8.5
(From OE-Core rev: 77571c4d224d5bcc6be944fe3d00309dafe1d512)
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.18.5/udhcpscript.patch')
-rw-r--r-- | meta/recipes-core/busybox/busybox-1.18.5/udhcpscript.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.18.5/udhcpscript.patch b/meta/recipes-core/busybox/busybox-1.18.5/udhcpscript.patch new file mode 100644 index 0000000000..b82ea335ac --- /dev/null +++ b/meta/recipes-core/busybox/busybox-1.18.5/udhcpscript.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | # copy commit message from OE as the patch comment | ||
4 | # commit c9bb6478a873d6de4c8a0e712435ac9a658a345d | ||
5 | # Author: Holger Schurig <schurig@mn-solutions.de> | ||
6 | # Date: Wed Sep 29 08:29:58 2004 +0000 | ||
7 | # | ||
8 | # udhcpscript: fixes the "deleting routers" error message in case of no existing default routes | ||
9 | # | ||
10 | # Above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
11 | |||
12 | Index: busybox-1.15.1/examples/udhcp/simple.script | ||
13 | =================================================================== | ||
14 | --- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-12 17:55:36.000000000 +0200 | ||
15 | +++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:51:06.599693412 +0200 | ||
16 | @@ -22,7 +22,7 @@ case "$1" in | ||
17 | |||
18 | if [ -n "$router" ] ; then | ||
19 | echo "Deleting routers" | ||
20 | - while route del default gw 0.0.0.0 dev $interface ; do | ||
21 | + while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do | ||
22 | : | ||
23 | done | ||
24 | |||