mirror of
https://git.yoctoproject.org/poky
synced 2026-11-14 14:37:12 +00:00
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>
This commit is contained in:
1 parent
60e503a4e5
commit
c6fda196cb
2 files changed
+3
-4
No files matched your search
@@ -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 = ""
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user