X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-navigation%2Fgpsd%2Fgpsd_agldemo.inc;h=77dee8e0e253fc7dd2e11652eb764ffc0b4c424e;hb=d8d18beee18421c689aca0fe71bfeb331442ad02;hp=5899505bc05a37a5b80b4dde4fad90cc6e00152c;hpb=41591d4f8c586aa801220fac0924556f406c58bd;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-navigation/gpsd/gpsd_agldemo.inc b/recipes-navigation/gpsd/gpsd_agldemo.inc index 5899505bc..77dee8e0e 100644 --- a/recipes-navigation/gpsd/gpsd_agldemo.inc +++ b/recipes-navigation/gpsd/gpsd_agldemo.inc @@ -1,28 +1,12 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/gpsd:" +FILESEXTRAPATHS:prepend := "${THISDIR}/gpsd:" SRC_URI += "file://sw-device-hook" -do_install_append() { +do_install:append() { # Install device-hook script for starting NMEA output on Sierra Wireless modems install -d ${D}${sysconfdir}/gpsd install -m 0755 ${WORKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook } +RPROVIDES:${PN}-conf:append = " virtual/gpsd-conf" - -SYSTEMD_SERVICE_${PN}_append = " gpsdctl@.service" - -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 -}