diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2016-09-23 09:52:06 +0300 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2016-09-23 09:06:04 +0000 |
commit | 92c92eec83fd8c68de419decbe7743b0791dc38c (patch) | |
tree | 261529015016aea2fc9f9f870d27e2bbde18bcb9 /recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch | |
parent | 2b115238356e2cfa963f004cb8469533d4d21305 (diff) | |
download | meta-boot2qt-92c92eec83fd8c68de419decbe7743b0791dc38c.tar.gz |
Add connman patch to disable connman with boot over nfs
A workaround to avoid connman to bring the boot interface down then up during network boot.
Task-number: QTBUG-56051
Change-Id: Ic22fac9cd7e9892439fb462f08313cda4d9da9aa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch')
-rw-r--r-- | recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch new file mode 100644 index 0000000..d45ce18 --- /dev/null +++ b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | From a934f6b3ef4c4ff5f36a79d11c9eed59b3ffa9ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Tue, 20 Sep 2016 11:02:50 +0300 | ||
4 | Subject: [PATCH] Disable connman when booting over NFS | ||
5 | |||
6 | --- | ||
7 | src/connman.service.in | 1 + | ||
8 | 1 file changed, 1 insertion(+) | ||
9 | |||
10 | diff --git a/src/connman.service.in b/src/connman.service.in | ||
11 | index 7b6195e..3fc197a 100644 | ||
12 | --- a/src/connman.service.in | ||
13 | +++ b/src/connman.service.in | ||
14 | @@ -3,6 +3,7 @@ Description=Connection service | ||
15 | Requires=dbus.socket | ||
16 | After=dbus.socket | ||
17 | Before=remote-fs.target | ||
18 | +ConditionKernelCommandLine=!root=/dev/nfs | ||
19 | |||
20 | [Service] | ||
21 | Type=dbus | ||