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

Koen Kooi koen at dominion.thruhere.net
Wed Oct 16 08:54:39 UTC 2013


Op 16 okt. 2013, om 02:46 heeft Rongqing Li <rongqing.li at windriver.com> het volgende geschreven:

> 
> 
> On 10/15/2013 06:10 PM, Koen Kooi wrote:
>> 
>> 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:
>> 
> 
> Thanks, I will fix it.
> 
>> ConditionKernelCommandLine!=root=/dev/nfs
>> 
> 
> What is your meaning?

That's you are creating a huge script that does something built into systemd.

> 
> -Roy
> 
> 
>> A lot cleaner to use in systemd?
>> 
> 
> -- 
> Best Reagrds,
> Roy | RongQing Li




More information about the Openembedded-core mailing list