gpsd: Do not install gpsd.hotplug unconditionally

gpsd.hotplug is only needed if systemd is not used, in which case it
will be installed by scons.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2021-08-28 15:21:20 +02:00
committed by Khem Raj
parent 584852c8de
commit 91c6380946
@@ -72,10 +72,6 @@ do_install:append() {
install -d ${D}${sysconfdir}/default install -d ${D}${sysconfdir}/default
install -m 0644 ${S}/packaging/deb/etc_default_gpsd ${D}${sysconfdir}/default/gpsd.default install -m 0644 ${S}/packaging/deb/etc_default_gpsd ${D}${sysconfdir}/default/gpsd.default
# Support for udev
install -d ${D}${nonarch_base_libdir}/udev
install -m 0755 ${S}/gpsd.hotplug ${D}${nonarch_base_libdir}/udev
# Support for python # Support for python
install -d ${D}${PYTHON_SITEPACKAGES_DIR}/gps install -d ${D}${PYTHON_SITEPACKAGES_DIR}/gps
install -m 755 ${S}/gps/*.py ${D}${PYTHON_SITEPACKAGES_DIR}/gps install -m 755 ${S}/gps/*.py ${D}${PYTHON_SITEPACKAGES_DIR}/gps