busybox: fix udhcp check for NFS rootfs for new style /proc/mounts
authorDenys Dmytriyenko <denys@ti.com>
Thu, 24 Feb 2011 09:31:41 +0000 (09:31 +0000)
committerDenys Dmytriyenko <denys@ti.com>
Thu, 24 Feb 2011 23:56:49 +0000 (18:56 -0500)
commit2ee7e82e8ff5b7c12edc978d68d5163dd55d8d13
tree7df0281b994dc532cbc18f5fa024856ad9c36354
parent5dbd8d611f3cb7eb8baddb17211d6077e2060fdb
busybox: fix udhcp check for NFS rootfs for new style /proc/mounts

* Newer kernels change the format of /proc/mounts slightly when rootfs is
mounted over NFS.

* Old style:
/dev/root / nfs <options> 0 0

* New style:
<server>:<mount> / nfs <options> 0 0

* The regexp in grep can be simplified and rolled into one, but may become
less strict...

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
recipes/busybox/busybox-1.13.2/udhcpc-new-nfsroot.patch [new file with mode: 0644]
recipes/busybox/busybox-1.18.3/udhcpc-new-nfsroot.patch [new file with mode: 0644]
recipes/busybox/busybox_1.13.2.bb
recipes/busybox/busybox_1.18.3.bb
recipes/busybox/busybox_1.1x.inc