This is a quick workaround to avoid connman to bring
the boot interface down then up during network boot.
Bug-AGL: SPEC-171
Change-Id: I0b98bbdc5f727979e919f04f836af988a6c3974e
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
--- /dev/null
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI += "file://0001-disable-when-booting-over-nfs.patch"
--- /dev/null
+diff -urN a/src/connman.service.in b/src/connman.service.in
+--- a/src/connman.service.in 2015-08-31 15:50:11.000000000 +0000
++++ b/src/connman.service.in 2016-04-15 11:04:37.057445255 +0000
+@@ -3,6 +3,7 @@
+ After=dbus.service network-pre.target
+ Before=network.target remote-fs-pre.target
+ Wants=network.target remote-fs-pre.target
++ConditionKernelCommandLine=!root=/dev/nfs
+
+ [Service]
+ Type=dbus