gnss-mgr: Add test package
This package contains a script that is able to read the configuration of the receiver. This option is not part of the main tool. BugzID: 65664
This commit is contained in:
parent
89428f1358
commit
c7be0e4d01
|
|
@ -28,6 +28,10 @@ SRC_URI = "git://gitlab.com/netmodule/tools/gnssmgr.git;protocol=ssh;user=git;br
|
||||||
SRCREV ?= "${AUTOREV}"
|
SRCREV ?= "${AUTOREV}"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
PACKAGES =+ "${PN}-test"
|
||||||
|
SUMMARY_${PN}-test = "Addon to gnss-mgr for testing purposes"
|
||||||
|
FILES_${PN}-test = "${bindir}/gnss-config-reader"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/gnss
|
install -d ${D}${sysconfdir}/gnss
|
||||||
install -m 0644 ${S}/config/gnss-neom8.conf ${D}${sysconfdir}/gnss/gnss0.conf
|
install -m 0644 ${S}/config/gnss-neom8.conf ${D}${sysconfdir}/gnss/gnss0.conf
|
||||||
|
|
@ -37,4 +41,8 @@ do_install_append() {
|
||||||
|
|
||||||
install -d ${D}/${systemd_unitdir}/system/
|
install -d ${D}/${systemd_unitdir}/system/
|
||||||
install -m 0644 ${S}/systemd/gnss-mgr.service ${D}/${systemd_unitdir}/system/
|
install -m 0644 ${S}/systemd/gnss-mgr.service ${D}/${systemd_unitdir}/system/
|
||||||
|
|
||||||
|
# Test tool
|
||||||
|
install -d ${D}${bindir}/
|
||||||
|
install -m 0755 ${S}/testing/gnss-config-reader.py ${D}${bindir}/gnss-config-reader
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue