diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-08-30 16:34:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-02 05:52:11 -0700 |
commit | c6fda196cbbfd749b8bf10ad97dc373217d8ed2e (patch) | |
tree | 7ca0bd8c79c9584b1b71714d14dce3eba30f86dc | |
parent | 60e503a4e5f37e9adf70f09323cdfa36ad439ffc (diff) | |
download | poky-c6fda196cbbfd749b8bf10ad97dc373217d8ed2e.tar.gz |
connman: Don't start connmand when booting using nfsroot
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>
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman/connman | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 653d1dfa84..0f96202097 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ | |||
20 | ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ | 20 | ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ |
21 | " | 21 | " |
22 | 22 | ||
23 | INC_PR = "r15" | 23 | INC_PR = "r16" |
24 | 24 | ||
25 | TIST = "--enable-tist" | 25 | TIST = "--enable-tist" |
26 | TIST_powerpc = "" | 26 | TIST_powerpc = "" |
diff --git a/meta/recipes-connectivity/connman/connman/connman b/meta/recipes-connectivity/connman/connman/connman index f01bf371c2..4a0017fc18 100644 --- a/meta/recipes-connectivity/connman/connman/connman +++ b/meta/recipes-connectivity/connman/connman/connman | |||
@@ -28,10 +28,9 @@ done | |||
28 | 28 | ||
29 | do_start() { | 29 | do_start() { |
30 | EXTRA_PARAM="" | 30 | EXTRA_PARAM="" |
31 | if test $nfsroot -eq 1 ; then | 31 | if test $nfsroot -eq 0 ; then |
32 | EXTRA_PARAM="-P ethernet" | 32 | $DAEMON $EXTRA_PARAM |
33 | fi | 33 | fi |
34 | $DAEMON $EXTRA_PARAM | ||
35 | } | 34 | } |
36 | 35 | ||
37 | do_stop() { | 36 | do_stop() { |