From ef5ab78de0dbd3e9c9b653db1a9cd8697e8bf079 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Mon, 6 Jan 2020 10:09:44 +0100 Subject: [PATCH] ublox-gsm-config: Add empty apn.conf as placeholder Should help avoiding errors when manually writing this file. BugzID: 60832 --- .../ublox-gsm-config/files/apn.conf | 15 +++++++++++++++ .../ublox-gsm-config/ublox-gsm-config.bb | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 recipes-connectivity/ublox-gsm-config/files/apn.conf diff --git a/recipes-connectivity/ublox-gsm-config/files/apn.conf b/recipes-connectivity/ublox-gsm-config/files/apn.conf new file mode 100644 index 0000000..55eb3ed --- /dev/null +++ b/recipes-connectivity/ublox-gsm-config/files/apn.conf @@ -0,0 +1,15 @@ +# +# Define a private APN to be used by the modem +# This file is part of ublox-gsm-config service +# +# Required fields: +# apn: Name of the access point +# user: Username used to authenticate on APN +# password: Password used to authenticate on APN +# + + +[default] +apn= +user= +password= diff --git a/recipes-connectivity/ublox-gsm-config/ublox-gsm-config.bb b/recipes-connectivity/ublox-gsm-config/ublox-gsm-config.bb index 39a1215..54799e2 100644 --- a/recipes-connectivity/ublox-gsm-config/ublox-gsm-config.bb +++ b/recipes-connectivity/ublox-gsm-config/ublox-gsm-config.bb @@ -16,6 +16,7 @@ SRC_URI = " \ file://ublox-gsm-config.py \ file://modem-config-dump.py \ file://sim.conf \ + file://apn.conf \ " S = "${WORKDIR}" @@ -42,7 +43,6 @@ do_install () { install -d ${D}/etc install -m 0644 sim.conf ${D}/etc/ + install -m 0644 apn.conf ${D}/etc/ } - -