mirror of
git://git.yoctoproject.org/poky
synced 2026-09-27 04:20:22 +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:
parent
60e503a4e5
commit
c6fda196cb
@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \
|
|||||||
${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
|
${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
INC_PR = "r15"
|
INC_PR = "r16"
|
||||||
|
|
||||||
TIST = "--enable-tist"
|
TIST = "--enable-tist"
|
||||||
TIST_powerpc = ""
|
TIST_powerpc = ""
|
||||||
|
|||||||
@ -28,10 +28,9 @@ done
|
|||||||
|
|
||||||
do_start() {
|
do_start() {
|
||||||
EXTRA_PARAM=""
|
EXTRA_PARAM=""
|
||||||
if test $nfsroot -eq 1 ; then
|
if test $nfsroot -eq 0 ; then
|
||||||
EXTRA_PARAM="-P ethernet"
|
$DAEMON $EXTRA_PARAM
|
||||||
fi
|
fi
|
||||||
$DAEMON $EXTRA_PARAM
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_stop() {
|
do_stop() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user