aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2011-03-13 17:48:37 +0100
committerEric Bénard <eric@eukrea.com>2011-03-13 22:04:45 +0100
commitcba33010f0db5cede36a256955751ac04156dcaa (patch)
tree358142cb3f4fe6a00d0963193454748323c8dc7d /recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch
parent544e4f08e672a94cb0c46ddc2964ff6b22fe1e45 (diff)
downloadopenembedded-cba33010f0db5cede36a256955751ac04156dcaa.tar.gz
busybox: add 1.18.4
which is 1.18.3 + all the fixes we already have in OE Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch')
-rw-r--r--recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch b/recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch
new file mode 100644
index 0000000000..46aaab97be
--- /dev/null
+++ b/recipes/busybox/busybox-1.18.4/udhcpc-new-nfsroot.patch
@@ -0,0 +1,16 @@
+diff -uNr busybox-1.13.2.orig/examples/udhcp/simple.script busybox-1.13.2/examples/udhcp/simple.script
+--- busybox-1.13.2.orig/examples/udhcp/simple.script 2011-02-23 00:30:32.000000000 -0500
++++ busybox-1.13.2/examples/udhcp/simple.script 2011-02-23 17:05:37.873381763 -0500
+@@ -10,7 +10,12 @@
+
+ # return 0 if root is mounted on a network filesystem
+ root_is_nfs() {
++ # old style mounts
+ grep -qe '^/dev/root.*\(nfs\|smbfs\|ncp\|coda\) .*' /proc/mounts
++ if ! $? ; then
++ # new style mounts
++ grep -qe '^.*:.* / \(nfs\|smbfs\|ncp\|coda\) .*' /proc/mounts
++ fi
+ }
+
+ case "$1" in