Op 16 okt. 2013, om 02:46 heeft Rongqing Li <rongqing...@windriver.com> het volgende geschreven:
> > > 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 init >>> script connman, because inherit systemd will remove init script >> >>> Signed-off-by: Roy Li <rongqing...@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 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core