gnss-config: Move config to gnss subdirectory

To align with wwan structure and allow later more gnss receivers.
Alignment helps in handling the firmware update in a more generic
way.

BugzID: 61471
This commit is contained in:
Alexandre Bard 2020-03-06 11:50:59 +01:00
parent 4d8cab637b
commit 5cb9641ba9
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
# static variables
DEVICE_NAME="NEO-M8L"
TTY_INTERFACE="/dev/ttyS3"
CONFIG_FILE="/etc/gnss0.conf"
CONFIG_FILE="/etc/gnss/gnss0.conf"
SAVE_FILE="/var/gnss-receiver-save-state"
# first baud rate in PRESELECTION_BAUD_RATES should be the one which is most likely the current baud rate of the GNSS receiver,

View File

@ -30,8 +30,8 @@ do_install() {
install -d ${D}${bindir}
install -m 744 ${WORKDIR}/gnss-config.sh ${D}${bindir}/gnss-config
install -d ${D}${sysconfdir}
install -m 644 ${WORKDIR}/gnss0.conf ${D}${sysconfdir}/gnss0.conf
install -d ${D}${sysconfdir}/gnss
install -m 644 ${WORKDIR}/gnss0.conf ${D}${sysconfdir}/gnss/gnss0.conf
install -d ${D}${localstatedir}
install -m 644 ${WORKDIR}/gnss-receiver-save-state ${D}${localstatedir}/gnss-receiver-save-state