From fc9d9193d1d49d754221f7a86a11be0f4b0e140f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 27 May 2009 23:17:37 +0100 Subject: busybox: Add missing path in uducpc script Signed-off-by: Richard Purdie --- meta/packages/busybox/busybox-1.9.1/udhcpscript.patch | 15 ++++++++++++--- meta/packages/busybox/busybox_1.9.1.bb | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'meta/packages/busybox') 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 \ -- cgit v1.2.3