[OE-core] [PATCH] connman: Ignore eth0 cleanup when booting over the network

Simon Busch morphis at gravedo.de
Fri Aug 31 07:42:27 UTC 2012


Am 31.08.2012 01:34, schrieb Saul Wold:
> 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.
> 
> The -I option will cause the device to be ignored.
> 
> [YOCTO #3008]
> 
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  meta/recipes-connectivity/connman/connman/connman |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-connectivity/connman/connman/connman b/meta/recipes-connectivity/connman/connman/connman
> index f01bf37..2c8354a 100644
> --- a/meta/recipes-connectivity/connman/connman/connman
> +++ b/meta/recipes-connectivity/connman/connman/connman
> @@ -29,7 +29,7 @@ done
>  do_start() {
>  	EXTRA_PARAM=""
>  	if test $nfsroot -eq 1 ; then
> -		EXTRA_PARAM="-P ethernet"
> +		EXTRA_PARAM="-P ethernet -I eth0"
>  	fi
>  	$DAEMON $EXTRA_PARAM
>  }
> 

What about other devices where eht0 is not available but rndis0 for
example which has to be ignored?

As of right we have this fix for several machines in meta-smartphone
already ignoring rndis0 and usb0.

regards,
Simon

-- 
Simon Busch - http://mm.gravedo.de/blog/




More information about the Openembedded-core mailing list