summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-27 23:17:37 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-27 23:17:37 +0100
commitfc9d9193d1d49d754221f7a86a11be0f4b0e140f (patch)
tree57e62ba75be8eec77762db6d68e6775939f37a9d /meta/packages
parent9b9152e25b3eac77ccc86939dcc2e4b145b1fe98 (diff)
downloadopenembedded-core-fc9d9193d1d49d754221f7a86a11be0f4b0e140f.tar.gz
openembedded-core-fc9d9193d1d49d754221f7a86a11be0f4b0e140f.tar.bz2
openembedded-core-fc9d9193d1d49d754221f7a86a11be0f4b0e140f.tar.xz
openembedded-core-fc9d9193d1d49d754221f7a86a11be0f4b0e140f.zip
busybox: Add missing path in uducpc script
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/busybox/busybox-1.9.1/udhcpscript.patch15
-rw-r--r--meta/packages/busybox/busybox_1.9.1.bb2
2 files changed, 13 insertions, 4 deletions
diff --git a/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch b/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch
index fc21d440c..d00755fa3 100644
--- a/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch
+++ b/meta/packages/busybox/busybox-1.9.1/udhcpscript.patch
@@ -3,9 +3,11 @@
# Patch managed by http://www.holgerschurig.de/patcher.html
#
---- busybox-1.00-rc3/examples/udhcp/simple.script~udhcpscript
-+++ busybox-1.00-rc3/examples/udhcp/simple.script
-@@ -17,8 +17,7 @@
+Index: busybox-1.9.1/examples/udhcp/simple.script
+===================================================================
+--- busybox-1.9.1.orig/examples/udhcp/simple.script 2008-02-12 16:03:13.000000000 +0000
++++ busybox-1.9.1/examples/udhcp/simple.script 2009-05-27 22:54:42.000000000 +0100
+@@ -17,14 +17,13 @@
/sbin/ifconfig $interface $ip $BROADCAST $NETMASK
if [ -n "$router" ] ; then
@@ -15,3 +17,10 @@
:
done
+ metric=0
+ for i in $router ; do
+- route add default gw $i dev $interface metric $((metric++))
++ /sbin/route add default gw $i dev $interface metric $((metric++))
+ done
+ fi
+
diff --git a/meta/packages/busybox/busybox_1.9.1.bb b/meta/packages/busybox/busybox_1.9.1.bb
index 6c7656ee4..26b73530f 100644
--- a/meta/packages/busybox/busybox_1.9.1.bb
+++ b/meta/packages/busybox/busybox_1.9.1.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r9"
+PR = "r10"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
http://busybox.net/downloads/fixes-1.9.1/busybox-1.9.1-lineedit.patch;patch=1 \