summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox
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/busybox
parent9b9152e25b3eac77ccc86939dcc2e4b145b1fe98 (diff)
downloadpoky-fc9d9193d1d49d754221f7a86a11be0f4b0e140f.tar.gz
busybox: Add missing path in uducpc script
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/busybox')
-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 fc21d440cd..d00755fa3a 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 @@
3# Patch managed by http://www.holgerschurig.de/patcher.html 3# Patch managed by http://www.holgerschurig.de/patcher.html
4# 4#
5 5
6--- busybox-1.00-rc3/examples/udhcp/simple.script~udhcpscript 6Index: busybox-1.9.1/examples/udhcp/simple.script
7+++ busybox-1.00-rc3/examples/udhcp/simple.script 7===================================================================
8@@ -17,8 +17,7 @@ 8--- busybox-1.9.1.orig/examples/udhcp/simple.script 2008-02-12 16:03:13.000000000 +0000
9+++ busybox-1.9.1/examples/udhcp/simple.script 2009-05-27 22:54:42.000000000 +0100
10@@ -17,14 +17,13 @@
9 /sbin/ifconfig $interface $ip $BROADCAST $NETMASK 11 /sbin/ifconfig $interface $ip $BROADCAST $NETMASK
10 12
11 if [ -n "$router" ] ; then 13 if [ -n "$router" ] ; then
@@ -15,3 +17,10 @@
15 : 17 :
16 done 18 done
17 19
20 metric=0
21 for i in $router ; do
22- route add default gw $i dev $interface metric $((metric++))
23+ /sbin/route add default gw $i dev $interface metric $((metric++))
24 done
25 fi
26
diff --git a/meta/packages/busybox/busybox_1.9.1.bb b/meta/packages/busybox/busybox_1.9.1.bb
index 6c7656ee4c..26b73530f5 100644
--- a/meta/packages/busybox/busybox_1.9.1.bb
+++ b/meta/packages/busybox/busybox_1.9.1.bb
@@ -1,5 +1,5 @@
1require busybox.inc 1require busybox.inc
2PR = "r9" 2PR = "r10"
3 3
4SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ 4SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
5 http://busybox.net/downloads/fixes-1.9.1/busybox-1.9.1-lineedit.patch;patch=1 \ 5 http://busybox.net/downloads/fixes-1.9.1/busybox-1.9.1-lineedit.patch;patch=1 \