summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-connectivity/connman
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-06-21 09:48:36 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-06-28 21:17:21 +0000
commitc4cc627f4d65da8c3b0860c791d9b9687ba8f5d6 (patch)
treec6083a3d45c58845f19b050c049d3e8b17332332 /meta-agl-core/recipes-connectivity/connman
parent26114b6718fa45b38ae921b58981d4aa2510b571 (diff)
meta-agl-core: add connman-conf dependency
After kirkstone, connman has an independent package for its configuration. This package is not added as a dependency. As a consequence, we do not ship /etc/connman/main.conf, that, in AGL builds, is expected to provide a fallback for NTP. This means Raspberry PI4 does not synchronize the clock on boot if connection is available. As a side effect, all SSL connections fail. Bug-AGL: SPEC-4447 Change-Id: Iaa34c0a41cd161b0a0edea7602c39f724831412a Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27683 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
Diffstat (limited to 'meta-agl-core/recipes-connectivity/connman')
-rw-r--r--meta-agl-core/recipes-connectivity/connman/connman-conf_aglcore.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-core/recipes-connectivity/connman/connman-conf_aglcore.inc b/meta-agl-core/recipes-connectivity/connman/connman-conf_aglcore.inc
index 4505ab779..30a250e1e 100644
--- a/meta-agl-core/recipes-connectivity/connman/connman-conf_aglcore.inc
+++ b/meta-agl-core/recipes-connectivity/connman/connman-conf_aglcore.inc
@@ -1,2 +1,9 @@
# Pick up our version of main.conf
FILESEXTRAPATHS:prepend := "${THISDIR}/connman-conf:"
+
+# Upstream connman-conf only installs configuration for qemu targets
+# but we need it in all our BSP
+do_install:append() {
+ mkdir -p ${D}${sysconfdir}/connman
+ cp ${S}/main.conf ${D}${sysconfdir}/connman/main.conf
+}