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 }