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:
parent
4d8cab637b
commit
5cb9641ba9
|
|
@ -17,7 +17,7 @@
|
||||||
# static variables
|
# static variables
|
||||||
DEVICE_NAME="NEO-M8L"
|
DEVICE_NAME="NEO-M8L"
|
||||||
TTY_INTERFACE="/dev/ttyS3"
|
TTY_INTERFACE="/dev/ttyS3"
|
||||||
CONFIG_FILE="/etc/gnss0.conf"
|
CONFIG_FILE="/etc/gnss/gnss0.conf"
|
||||||
SAVE_FILE="/var/gnss-receiver-save-state"
|
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,
|
# first baud rate in PRESELECTION_BAUD_RATES should be the one which is most likely the current baud rate of the GNSS receiver,
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,8 @@ do_install() {
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -m 744 ${WORKDIR}/gnss-config.sh ${D}${bindir}/gnss-config
|
install -m 744 ${WORKDIR}/gnss-config.sh ${D}${bindir}/gnss-config
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}
|
install -d ${D}${sysconfdir}/gnss
|
||||||
install -m 644 ${WORKDIR}/gnss0.conf ${D}${sysconfdir}/gnss0.conf
|
install -m 644 ${WORKDIR}/gnss0.conf ${D}${sysconfdir}/gnss/gnss0.conf
|
||||||
|
|
||||||
install -d ${D}${localstatedir}
|
install -d ${D}${localstatedir}
|
||||||
install -m 644 ${WORKDIR}/gnss-receiver-save-state ${D}${localstatedir}/gnss-receiver-save-state
|
install -m 644 ${WORKDIR}/gnss-receiver-save-state ${D}${localstatedir}/gnss-receiver-save-state
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue