summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2016-10-07 06:29:06 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2016-10-07 06:29:06 +0000
commit58bd65266b6a91892a5c6a179c1851394707af95 (patch)
tree1cea90f0ee3caefe7707f15f13f79af21c1a60c8
parent4dea735eb4b3c071d706f17776e4e36cb5ff2733 (diff)
parentd4066f7473a9deee26c2a6c564f733b51af773bb (diff)
downloadmeta-boot2qt-58bd65266b6a91892a5c6a179c1851394707af95.tar.gz
Merge "Merge remote-tracking branch 'origin/fido' into jethro" into refs/staging/jethro
-rw-r--r--recipes/connman/connman_%.bbappend24
-rw-r--r--recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch21
2 files changed, 45 insertions, 0 deletions
diff --git a/recipes/connman/connman_%.bbappend b/recipes/connman/connman_%.bbappend
new file mode 100644
index 0000000..0b03755
--- /dev/null
+++ b/recipes/connman/connman_%.bbappend
@@ -0,0 +1,24 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
23
24SRC_URI += "file://0001-disable-connman-when-booting-over-nfs.patch"
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..eefd6a3
--- /dev/null
+++ b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch
@@ -0,0 +1,21 @@
1From ccc6013f1e55b67981fb336aba657aea1520aeda Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Tue, 20 Sep 2016 11:02:50 +0300
4Subject: [PATCH] Disable connman when booting over NFS
5
6---
7 src/connman.service.in | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/src/connman.service.in b/src/connman.service.in
11index 8f7f342..8470f91 100644
12--- a/src/connman.service.in
13+++ b/src/connman.service.in
14@@ -3,6 +3,7 @@ Description=Connection service
15 After=dbus.service network-pre.target
16 Before=network.target remote-fs-pre.target
17 Wants=network.target remote-fs-pre.target
18+ConditionKernelCommandLine=!root=/dev/nfs
19
20 [Service]
21 Type=dbus