From c7be0e4d01ea1e77e2a3909ce73430b3e660d449 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Tue, 25 Aug 2020 19:07:10 +0200 Subject: [PATCH] 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 --- recipes-connectivity/gnss-mgr/gnss-mgr.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes-connectivity/gnss-mgr/gnss-mgr.bb b/recipes-connectivity/gnss-mgr/gnss-mgr.bb index 7ad5d69..7c72e14 100644 --- a/recipes-connectivity/gnss-mgr/gnss-mgr.bb +++ b/recipes-connectivity/gnss-mgr/gnss-mgr.bb @@ -28,6 +28,10 @@ SRC_URI = "git://gitlab.com/netmodule/tools/gnssmgr.git;protocol=ssh;user=git;br SRCREV ?= "${AUTOREV}" 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() { install -d ${D}${sysconfdir}/gnss 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 -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 }