[OE-core] [PATCH v7] connman: ignore the networking device which nfs for rootfs is working on

Burton, Ross ross.burton at intel.com
Fri Nov 8 11:10:22 UTC 2013


Hi,

On 31 October 2013 01:14,  <rongqing.li at windriver.com> wrote:
> --- /dev/null
> +++ b/meta/recipes-connectivity/connman/connman/connman.service
> @@ -0,0 +1,14 @@
> +[Unit]
> +Description=Connection service
> +After=syslog.target
> +Wants=connman-env.service
> +
> +[Service]
> +Type=dbus
> +BusName=net.connman
> +EnvironmentFile=- at LOCALSTATEDIR@/run/connmand.env
> +ExecStartPre=- at LIBDIR@/connman/wired-setup
> +ExecStart=@SBINDIR@/connmand -n $CONNMAND_OPTS
> +
> +[Install]
> +WantedBy=multi-user.target

I'm thinking it might be better in the long term to patch the service
file in case upstream makes important changes and we don't notice.

> +echo "CONNMAND_OPTS=$EXTRA_PARAM">/run/connmand.env

Let's not pollute /run too much, there's already a /run/connman on a
booted image.  Create that directory if it doesn't exist, and put the
env file in there.

Ross



More information about the Openembedded-core mailing list