[OE-core] [PATCH] connman: ignore the networking device which nfs for rootfs is working on
Koen Kooi
koen at dominion.thruhere.net
Tue Oct 15 10:10:21 UTC 2013
Op 15 okt. 2013, om 10:12 heeft rongqing.li at windriver.com het volgende geschreven:
> From: Roy Li <rongqing.li at windriver.com>
>
> Otherwise system will hang since nfs is not disconnected
>
> and remove the judgement of initscript DISTRO_FEATURE when install init
> script connman, because inherit systemd will remove init script
> Signed-off-by: Roy Li <rongqing.li at windriver.com>
> ---
[..]
> diff --git a/meta/recipes-connectivity/connman/connman/connman-nfs.service b/meta/recipes-connectivity/connman/connman/connman-nfs.service
> new file mode 100644
> index 0000000..9f9b690
> --- /dev/null
> +++ b/meta/recipes-connectivity/connman/connman/connman-nfs.service
> @@ -0,0 +1,14 @@
> +[Unit]
> +Description=Connection service
> +After=syslog.target
> +
> +[Service]
> +Type=dbus
> +BusName=net.connman
> +Restart=on-failure
> +ExecStartPre=-/usr/lib64/connman/wired-setup
> +ExecStart=/usr/bin/connman-nfs
Those hardcoded paths aren't going to work. And isn't:
ConditionKernelCommandLine!=root=/dev/nfs
A lot cleaner to use in systemd?
More information about the Openembedded-core
mailing list