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

2013-10-18 Thread rongqing.li
From: Roy Li rongqing...@windriver.com Create connman-evn.service, which will run a script to compute the networking device when nfs root is on, and pass the result to connman.service Copy Connmand.service from source code, add ExecStartPre into it to release do_configure_append work, use the

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

2013-10-17 Thread rongqing.li
From: Roy Li rongqing...@windriver.com Create connmand-nfs.service, which will run a script to ignore the networking device when root is nfs. Connmand-nfs.service will be run only when root is not nfs Signed-off-by: Roy Li rongqing...@windriver.com ---

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

2013-10-17 Thread Rongqing Li
Drop it, the commit header is wrong On 10/17/2013 04:12 PM, rongqing...@windriver.com wrote: From: Roy Li rongqing...@windriver.com Create connmand-nfs.service, which will run a script to ignore the networking device when root is nfs. Connmand-nfs.service will be run only when root is not nfs

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

2013-10-17 Thread Koen Kooi
Op 17 okt. 2013, om 10:12 heeft rongqing...@windriver.com het volgende geschreven: From: Roy Li rongqing...@windriver.com Create connmand-nfs.service, which will run a script to ignore the networking device when root is nfs. Connmand-nfs.service will be run only when root is not nfs You

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

2013-10-16 Thread Rongqing Li
On 10/16/2013 04:54 PM, Koen Kooi wrote: ConditionKernelCommandLine!=root=/dev/nfs What is your meaning? That's you are creating a huge script that does something built into systemd. Yes, I can not find a way to avoid to that, Do you have any advice? -Roy -- Best Reagrds, Roy |

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

2013-10-16 Thread Koen Kooi
Op 16 okt. 2013, om 11:10 heeft Rongqing Li rongqing...@windriver.com het volgende geschreven: On 10/16/2013 04:54 PM, Koen Kooi wrote: ConditionKernelCommandLine!=root=/dev/nfs What is your meaning? That's you are creating a huge script that does something built into systemd.

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

2013-10-16 Thread Enrico Scholz
Rongqing Li rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org writes: ConditionKernelCommandLine!=root=/dev/nfs What is your meaning? That's you are creating a huge script that does something built into systemd. Yes, I can not find a way to avoid to that, Do you have any advice? I

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

2013-10-16 Thread Rongqing Li
On 10/16/2013 06:08 PM, Enrico Scholz wrote: Rongqing Li rongqing.li-cwa4wttnnzf54taoqty...@public.gmane.org writes: ConditionKernelCommandLine!=root=/dev/nfs What is your meaning? That's you are creating a huge script that does something built into systemd. Yes, I can not find a

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

2013-10-15 Thread rongqing.li
From: Roy Li rongqing...@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...@windriver.com ---

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

2013-10-15 Thread Koen Kooi
Op 15 okt. 2013, om 10:12 heeft rongqing...@windriver.com het volgende geschreven: From: Roy Li rongqing...@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

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

2013-10-15 Thread Rongqing Li
On 10/15/2013 06:10 PM, Koen Kooi wrote: Op 15 okt. 2013, om 10:12 heeft rongqing...@windriver.com het volgende geschreven: From: Roy Li rongqing...@windriver.com Otherwise system will hang since nfs is not disconnected and remove the judgement of initscript DISTRO_FEATURE when install