X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-navigation%2Fgpsd%2Fgpsd_agldemo.inc;h=1154435bcba37706f0100d1487dba9856c29eeb6;hb=4ed1a0a0302cec13f12d3999466d62841c104402;hp=92303f8b5fc675a4d952df0a7781e2be0845bf76;hpb=4249268041b879b3d2bae338d5de88f4f2d54b26;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-navigation/gpsd/gpsd_agldemo.inc b/recipes-navigation/gpsd/gpsd_agldemo.inc index 92303f8b5..1154435bc 100644 --- a/recipes-navigation/gpsd/gpsd_agldemo.inc +++ b/recipes-navigation/gpsd/gpsd_agldemo.inc @@ -5,24 +5,6 @@ SRC_URI += "file://sw-device-hook" 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 + install -m 0755 ${UNPACKDIR}/sw-device-hook ${D}${sysconfdir}/gpsd/device-hook } - - -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 -}