summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-03-14 17:01:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 12:40:08 +0000
commitf03f8eac4c72be0f16468ebd0ee4dd1f07b0563b (patch)
treeee406230d93f40e7480239c7e1aba7ef3767596f /meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch
parent98b9c17f2c236e1a23d9c74d93cb693b4d7b4d61 (diff)
downloadopenembedded-core-f03f8eac4c72be0f16468ebd0ee4dd1f07b0563b.tar.gz
openembedded-core-f03f8eac4c72be0f16468ebd0ee4dd1f07b0563b.tar.bz2
openembedded-core-f03f8eac4c72be0f16468ebd0ee4dd1f07b0563b.tar.xz
openembedded-core-f03f8eac4c72be0f16468ebd0ee4dd1f07b0563b.zip
busybox: upgrade to 1.19.4
Removing the patch busybox-1.19.3-getty.patch is because it is already in the upstream. Signed-off-by: Shane Wang <shane.wang@intel.com>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch b/meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch
new file mode 100644
index 000000000..b82ea335a
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.19.4/udhcpscript.patch
@@ -0,0 +1,24 @@
+Upstream-Status: Pending
+
+# copy commit message from OE as the patch comment
+# commit c9bb6478a873d6de4c8a0e712435ac9a658a345d
+# Author: Holger Schurig <schurig@mn-solutions.de>
+# Date: Wed Sep 29 08:29:58 2004 +0000
+#
+# udhcpscript: fixes the "deleting routers" error message in case of no existing default routes
+#
+# Above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
+
+Index: busybox-1.15.1/examples/udhcp/simple.script
+===================================================================
+--- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-12 17:55:36.000000000 +0200
++++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:51:06.599693412 +0200
+@@ -22,7 +22,7 @@ case "$1" in
+
+ if [ -n "$router" ] ; then
+ echo "Deleting routers"
+- while route del default gw 0.0.0.0 dev $interface ; do
++ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
+ :
+ done
+