summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-connectivity/connman/connman/dont_start_connman_on_nfsboot.patch11
-rw-r--r--recipes-connectivity/connman/connman_1.4.bbappend7
2 files changed, 18 insertions, 0 deletions
diff --git a/recipes-connectivity/connman/connman/dont_start_connman_on_nfsboot.patch b/recipes-connectivity/connman/connman/dont_start_connman_on_nfsboot.patch
new file mode 100644
index 0000000..6905166
--- /dev/null
+++ b/recipes-connectivity/connman/connman/dont_start_connman_on_nfsboot.patch
@@ -0,0 +1,11 @@
+--- git/src/connman.service.in~ 2012-10-19 12:42:42.000000000 +0200
++++ git/src/connman.service.in 2012-10-19 12:46:54.616199557 +0200
+@@ -1,6 +1,8 @@
+ [Unit]
+ Description=Connection service
+ After=syslog.target
++# only if not NFS mount, connman will disconnect your rootfs otherwise!
++ConditionKernelCommandLine=!root=/dev/nfs
+
+ [Service]
+ Type=dbus
diff --git a/recipes-connectivity/connman/connman_1.4.bbappend b/recipes-connectivity/connman/connman_1.4.bbappend
new file mode 100644
index 0000000..94fcfd6
--- /dev/null
+++ b/recipes-connectivity/connman/connman_1.4.bbappend
@@ -0,0 +1,7 @@
+PRINC = "1"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += " \
+ file://dont_start_connman_on_nfsboot.patch \
+"