]> code.ossystems Code Review - openembedded-core.git/commitdiff
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:47:39 +0000 (05:47 -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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/connman/connman.inc
meta/recipes-connectivity/connman/connman/connman

index 653d1dfa847a854d743b9005e81d035f72bd21f7..0f96202097fae6009d1d1959191e965cfaf83da1 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 f01bf371c2a662a405d9a0a22696d8d907c1047b..4a0017fc18115de957df62a384961d5bcdffdf9f 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() {