On 10/15/2013 06:10 PM, Koen Kooi wrote:
Op 15 okt. 2013, om 10:12 heeft [email protected] het volgende
geschreven:
From: Roy Li <[email protected]>
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 <[email protected]>
---
[..]
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?
-Roy
A lot cleaner to use in systemd?
--
Best Reagrds,
Roy | RongQing Li
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core