diff options
| -rw-r--r-- | meta/recipes-connectivity/connman/connman/0001-connman.service-stop-systemd-resolved-when-we-use-co.patch | 26 | ||||
| -rw-r--r-- | meta/recipes-connectivity/connman/connman_1.44.bb | 2 |
2 files changed, 1 insertions, 27 deletions
diff --git a/meta/recipes-connectivity/connman/connman/0001-connman.service-stop-systemd-resolved-when-we-use-co.patch b/meta/recipes-connectivity/connman/connman/0001-connman.service-stop-systemd-resolved-when-we-use-co.patch deleted file mode 100644 index 4597fe68fc..0000000000 --- a/meta/recipes-connectivity/connman/connman/0001-connman.service-stop-systemd-resolved-when-we-use-co.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 19aff57e4da920d9ca972903582305b4efe81ef3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Maxin B. John" <maxin.john@intel.com> | ||
| 3 | Date: Mon, 12 Jun 2017 16:52:39 +0300 | ||
| 4 | Subject: [PATCH] connman.service: stop systemd-resolved when we use connman | ||
| 5 | |||
| 6 | Stop systemd-resolved service when we use connman as network manager. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [configuration] | ||
| 9 | |||
| 10 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
| 11 | --- | ||
| 12 | src/connman.service.in | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/src/connman.service.in b/src/connman.service.in | ||
| 16 | index 7376346..79e75d6 100644 | ||
| 17 | --- a/src/connman.service.in | ||
| 18 | +++ b/src/connman.service.in | ||
| 19 | @@ -6,6 +6,7 @@ RequiresMountsFor=@localstatedir@/lib/connman | ||
| 20 | After=dbus.service network-pre.target systemd-sysusers.service | ||
| 21 | Before=network.target multi-user.target shutdown.target | ||
| 22 | Wants=network.target | ||
| 23 | +Conflicts=systemd-resolved.service | ||
| 24 | |||
| 25 | [Service] | ||
| 26 | Type=dbus | ||
diff --git a/meta/recipes-connectivity/connman/connman_1.44.bb b/meta/recipes-connectivity/connman/connman_1.44.bb index 306d54794f..00e69182d7 100644 --- a/meta/recipes-connectivity/connman/connman_1.44.bb +++ b/meta/recipes-connectivity/connman/connman_1.44.bb | |||
| @@ -19,7 +19,6 @@ CVE_PRODUCT = "connman connection_manager" | |||
| 19 | DEPENDS = "dbus glib-2.0" | 19 | DEPENDS = "dbus glib-2.0" |
| 20 | 20 | ||
| 21 | SRC_URI = "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \ | 21 | SRC_URI = "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \ |
| 22 | file://0001-connman.service-stop-systemd-resolved-when-we-use-co.patch \ | ||
| 23 | file://connman \ | 22 | file://connman \ |
| 24 | file://0002-resolve-musl-does-not-implement-res_ninit.patch \ | 23 | file://0002-resolve-musl-does-not-implement-res_ninit.patch \ |
| 25 | " | 24 | " |
| @@ -40,6 +39,7 @@ EXTRA_OECONF += "\ | |||
| 40 | --enable-tools \ | 39 | --enable-tools \ |
| 41 | --disable-polkit \ | 40 | --disable-polkit \ |
| 42 | --runstatedir='${runtimedir}' \ | 41 | --runstatedir='${runtimedir}' \ |
| 42 | --with-dns-backend='${@bb.utils.contains("DISTRO_FEATURES", "systemd-resolved", "systemd-resolved", "internal", d)}' \ | ||
| 43 | " | 43 | " |
| 44 | # For smooth operation it would be best to start only one wireless daemon at a time. | 44 | # For smooth operation it would be best to start only one wireless daemon at a time. |
| 45 | # If wpa-supplicant is running, connman will use it preferentially. | 45 | # If wpa-supplicant is running, connman will use it preferentially. |
