From 47d8a5d6a7b3dd2f55af49d56f1e3b3437e8cf89 Mon Sep 17 00:00:00 2001 From: Henrique Ferreiro Date: Fri, 23 Nov 2018 01:24:41 +0100 Subject: Provide fallback time servers to connman connman NTP client needs some fallback time servers in case it cannot get one from the DHCP server. Bug-AGL: SPEC-1925 Change-Id: I904f49f7d9428a2cc4e90ccea387bf4892f4d38e Signed-off-by: Henrique Ferreiro (cherry picked from commit 803f03daebb58b3a26462df35f001637f2ddf9a0) --- .../recipes-connectivity/connman/connman_%.bbappend | 11 ++++++++++- .../recipes-connectivity/connman/files/main.conf | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 meta-agl-profile-core/recipes-connectivity/connman/files/main.conf diff --git a/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend b/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend index e41cbe954..57406fa0a 100644 --- a/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend +++ b/meta-agl-profile-core/recipes-connectivity/connman/connman_%.bbappend @@ -1,3 +1,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI += "file://0001-disable-when-booting-over-nfs.patch" +SRC_URI += "file://0001-disable-when-booting-over-nfs.patch \ + file://main.conf \ +" + +FILES_${PN} += "${sysconfdir}/connman/main.conf" + +do_install_append() { + install -d ${D}${sysconfdir}/connman + install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman +} diff --git a/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf b/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf new file mode 100644 index 000000000..0bfbe09dc --- /dev/null +++ b/meta-agl-profile-core/recipes-connectivity/connman/files/main.conf @@ -0,0 +1,2 @@ +[General] +FallbackTimeservers=pool.ntp.org -- cgit 1.2.3-korg