From 3be416325f76c0359c536e55ef1f362612997df6 Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Mon, 1 Nov 2010 14:57:46 +0100 Subject: busybox: remove unused version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit keep the following versions : 1.2.1 (used by oplinux) 1.7.2 (used by nylon) 1.13.2 (used by angstrom, kaeilos and slugos) 1.17.1 (used by angstrom) 1.17.3 (latest one) Signed-off-by: Eric Bénard Acked-by: Khem Raj --- .../busybox-1.15.3/udhcpc-fix-nfsroot.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 recipes/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch (limited to 'recipes/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch') diff --git a/recipes/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch b/recipes/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch deleted file mode 100644 index 3b975b63f9..0000000000 --- a/recipes/busybox/busybox-1.15.3/udhcpc-fix-nfsroot.patch +++ /dev/null @@ -1,47 +0,0 @@ -Index: busybox-1.15.1/examples/udhcp/simple.script -=================================================================== ---- busybox-1.15.1.orig/examples/udhcp/simple.script 2009-09-16 22:52:09.000000000 +0200 -+++ busybox-1.15.1/examples/udhcp/simple.script 2009-09-16 22:57:11.424608476 +0200 -@@ -10,10 +10,17 @@ NETMASK="" - BROADCAST="broadcast +" - [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" - -+# return 0 if root is mounted on a network filesystem -+root_is_nfs() { -+ grep -qe '^/dev/root.*\(nfs\|smbfs\|ncp\|coda\) .*' /proc/mounts -+} -+ - case "$1" in - deconfig) -+ if ! root_is_nfs ; then - echo "Setting IP address 0.0.0.0 on $interface" -- ifconfig $interface 0.0.0.0 -+ ifconfig $interface 0.0.0.0 -+ fi - ;; - - renew|bound) -@@ -21,15 +28,18 @@ case "$1" in - ifconfig $interface $ip $NETMASK $BROADCAST - - if [ -n "$router" ] ; then -- echo "Deleting routers" -- while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do -- : -- done -+ if ! root_is_nfs ; then -+ echo "Deleting routers" -+ while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do -+ : -+ done -+ : -+ done - - metric=0 - for i in $router ; do - echo "Adding router $i" -- route add default gw $i dev $interface metric $((metric++)) -+ route add default gw $i dev $interface metric $((metric++)) 2>/dev/null - done - fi - -- cgit 1.2.3-korg