connman: Don't start connmand when booting using nfsroot
authorSaul Wold <sgw@linux.intel.com>
Thu, 30 Aug 2012 23:34:22 +0000 (16:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Sep 2012 12:52:11 +0000 (05:52 -0700)
There was a change to connman, such that it cleans up the
route table for devices at startup, this was causing the
network to get lost and NFS to loose it connection.

[YOCTO #3008]

(From OE-Core rev: d27692e9421206177fd572a79298f5988607ce21)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman.inc
meta/recipes-connectivity/connman/connman/connman

index 653d1df..0f96202 100644 (file)
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
-INC_PR = "r15"
+INC_PR = "r16"
 
 TIST = "--enable-tist"
 TIST_powerpc = ""
index f01bf37..4a0017f 100644 (file)
@@ -28,10 +28,9 @@ done
 
 do_start() {
        EXTRA_PARAM=""
-       if test $nfsroot -eq 1 ; then
-               EXTRA_PARAM="-P ethernet"
+       if test $nfsroot -eq 0 ; then
+               $DAEMON $EXTRA_PARAM
        fi
-       $DAEMON $EXTRA_PARAM
 }
 
 do_stop() {