The gpsd 3.23 recipe in upstream meta-oe now installs the systemd
enabling pieces we were doing with our local do_install append, so
those tweaks can now be removed.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6755f9cedc42748f282bdcc580340061776d540e
install -m 0755 ${WORKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook
}
install -m 0755 ${WORKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook
}
-
-
-SYSTEMD_SERVICE:${PN}:append = " gpsdctl@.service"
-
RPROVIDES:${PN}-conf:append = " virtual/gpsd-conf"
RPROVIDES:${PN}-conf:append = " virtual/gpsd-conf"
-do_install:append() {
- # use the systemd compatible gpsd.rules
- install -d ${D}/${sysconfdir}/udev/rules.d
- install -m 0644 ${S}/gpsd.rules ${D}/${sysconfdir}/udev/rules.d/60-gpsd.rules
-
- #support for systemd
- install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${S}/systemd/gpsdctl@.service ${D}${systemd_unitdir}/system
-
- #autoprobe usb gps devices
- echo 'USBAUTO="true"' >> ${D}${sysconfdir}/default/gpsd.default
-}