Use gpsd.service for sysmobts2100

This should superceed the broken initscript and fix gpsd startup.
This commit is contained in:
Max 2017-07-20 12:08:45 +02:00 committed by Pau Espin Pedrol
parent b1b0a45698
commit 15cb1d0902
1 changed files with 4 additions and 1 deletions

View File

@ -22,12 +22,13 @@ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
"
SRC_URI_append_sysmocom-idu = " file://gpsd.service "
SRC_URI_append_sysmobts2100 = " file://gpsd.service "
SRC_URI[md5sum] = "fc5b03aae38b9b5b6880b31924d0ace3"
SRC_URI[sha256sum] = "706fc2c1cf3dfbf87c941f543381bccc9c4dc9f8240eec407dcbf2f70b854320"
#inherit scons update-rc.d python-dir pythonnative
inherit scons update-rc.d
inherit scons update-rc.d systemd
INITSCRIPT_NAME = "gpsd"
INITSCRIPT_PARAMS = "defaults 35"
@ -126,6 +127,8 @@ pkg_postrm_${PN}-conf() {
update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default
}
SYSTEMD_SERVICE_${PN}_append_sysmobts2100 = "gpsd.service"
#PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
PACKAGES =+ "libgps libgpsd gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"