summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <eballetbo@gmail.com>2010-06-27 12:29:31 +0200
committerJoshua Lock <josh@linux.intel.com>2010-06-29 13:36:16 +0100
commit763b11d0fd6b804c73f0f645a3025c8f82f5aaf1 (patch)
tree1f151a4bbd1bca357fcb124a66f11b5270a98a86 /meta
parent7d292468e76c1ba0f73fb6abca57a5d87207d919 (diff)
downloadpoky-763b11d0fd6b804c73f0f645a3025c8f82f5aaf1.tar.gz
busybox: fix unexpected "done" in /etc/udhcpc.d/50default script.
Run udhcpc results in udhcpc (v1.15.3) started /etc/udhcpc.d/50default: line 37: syntax error: unexpected "done" (expecting "fi") run-parts: /etc/udhcpc.d/50default exited with code 2 Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch13
-rw-r--r--meta/packages/busybox/busybox_1.15.3.bb2
2 files changed, 7 insertions, 8 deletions
diff --git a/meta/packages/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch b/meta/packages/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch
index 3b975b63f9..edea898b10 100644
--- a/meta/packages/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch
+++ b/meta/packages/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch
@@ -1,8 +1,8 @@
1Index: busybox-1.15.1/examples/udhcp/simple.script 1Index: busybox-1.15.3/examples/udhcp/simple.script
2=================================================================== 2===================================================================
3--- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-16 22:52:09.000000000 +0200 3--- busybox-1.15.3.orig/examples/udhcp/simple.script 2010-06-27 12:17:14.116876946 +0200
4+++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:57:11.424608476 +0200 4+++ busybox-1.15.3/examples/udhcp/simple.script 2010-06-27 12:18:38.607868533 +0200
5@@ -10,10 +10,17 @@ NETMASK="" 5@@ -10,10 +10,17 @@
6 BROADCAST="broadcast +" 6 BROADCAST="broadcast +"
7 [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" 7 [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
8 8
@@ -21,7 +21,7 @@ Index: busybox-1.15.1/examples/udhcp/simple.script
21 ;; 21 ;;
22 22
23 renew|bound) 23 renew|bound)
24@@ -21,15 +28,18 @@ case "$1" in 24@@ -21,15 +28,17 @@
25 ifconfig $interface $ip $NETMASK $BROADCAST 25 ifconfig $interface $ip $NETMASK $BROADCAST
26 26
27 if [ -n "$router" ] ; then 27 if [ -n "$router" ] ; then
@@ -34,8 +34,7 @@ Index: busybox-1.15.1/examples/udhcp/simple.script
34+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do 34+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
35+ : 35+ :
36+ done 36+ done
37+ : 37+ fi
38+ done
39 38
40 metric=0 39 metric=0
41 for i in $router ; do 40 for i in $router ; do
diff --git a/meta/packages/busybox/busybox_1.15.3.bb b/meta/packages/busybox/busybox_1.15.3.bb
index d6373758eb..9be4abdb17 100644
--- a/meta/packages/busybox/busybox_1.15.3.bb
+++ b/meta/packages/busybox/busybox_1.15.3.bb
@@ -1,5 +1,5 @@
1require busybox.inc 1require busybox.inc
2PR = "4" 2PR = "r5"
3 3
4SRC_URI = "\ 4SRC_URI = "\
5 http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ 5 http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \