summaryrefslogtreecommitdiff
path: root/recipes-navigation
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-01-12 14:43:43 -0600
committerJohn Klug <john.klug@multitech.com>2021-01-12 14:43:43 -0600
commit9c4fe5c991614d9d13668efabf1ce143cc6d20c1 (patch)
tree7bc59447747e55275e9cbe2512d26139a5d98d49 /recipes-navigation
parent82deb722606c182da327956ba65d6c1737cb06ed (diff)
downloadmeta-mlinux-9c4fe5c991614d9d13668efabf1ce143cc6d20c1.tar.gz
meta-mlinux-9c4fe5c991614d9d13668efabf1ce143cc6d20c1.tar.bz2
meta-mlinux-9c4fe5c991614d9d13668efabf1ce143cc6d20c1.zip
Remove bash requirement from gpsd, add INITSCRIPT_PACKAGES
Diffstat (limited to 'recipes-navigation')
-rw-r--r--recipes-navigation/gpsd/gpsd_3.20.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-navigation/gpsd/gpsd_3.20.bb b/recipes-navigation/gpsd/gpsd_3.20.bb
index 9238cc2..037afa0 100644
--- a/recipes-navigation/gpsd/gpsd_3.20.bb
+++ b/recipes-navigation/gpsd/gpsd_3.20.bb
@@ -33,6 +33,7 @@ SRC_URI[sha256sum] = "172a7805068eacb815a3c5225436fcb0be46e7e49a5001a94034eac43d
inherit scons update-rc.d python3-dir python3native systemd
+INITSCRIPT_PACKAGES = "gpsd-conf"
INITSCRIPT_NAME = "gpsd"
INITSCRIPT_PARAMS = "defaults 10"
@@ -170,6 +171,7 @@ do_install_append() {
install -m 0644 ${S}/libgpsmm.h ${D}/${includedir}
}
+RDEPENDS_${PN} += "bash"
RDEPENDS_${PN}-conf += "bash"
pkg_postinst_${PN}-conf() {
@@ -180,6 +182,7 @@ pkg_postrm_${PN}-conf() {
update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default
}
+
PACKAGES =+ "libgps libgpsd python3-pygps-dbg python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gpspipe gps-utils"
# PACKAGES =+ "${PN} ${PN}-dbg ${PN}-dev"
@@ -196,14 +199,13 @@ FILES_${PN}-conf = "${sysconfdir}/default ${sysconfdir}/init.d"
FILES_python3-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
RDEPENDS_${PN}-conf = "gpsd-gpsctl bash"
-RDEPENDS_${PN} = "bash"
# gpsd-udev is for USB, which we are not using
# RRECOMMENDS_${PN} = "gpsd-conf gpsd-machine-conf"
SUMMARY_${PN}-udev = "udev relevant files to use gpsd hotplugging"
FILES_${PN}-udev = "${base_libdir}/udev ${sysconfdir}/udev/*"
-RDEPENDS_${PN}-udev += "eudev"
+RDEPENDS_${PN}-udev += "eudev gpsd-conf"
SUMMARY_libgpsd = "C service library used for communicating with gpsd"
FILES_libgpsd = "${libdir}/libgpsd.so.*"