diff options
author | Martin Kelly <mkelly@xevo.com> | 2017-11-16 17:10:12 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-30 09:13:32 -0800 |
commit | 3fcf819224c33a5785ecbf198aa1da466865f798 (patch) | |
tree | ceb715a759dc9d337fb3b594c50fe916b33a9b77 /meta-oe/recipes-navigation | |
parent | c8913de265ce8f6355ba1f56d034f6ac40596763 (diff) | |
download | meta-openembedded-3fcf819224c33a5785ecbf198aa1da466865f798.tar.gz |
gpsd: add gpsdctl@.service for USB autoplug
This service allows gpsd to automatically recognize USB devices but is
currently missing from our packaging. Without this service and the
matching udev rules from upstream, gpsd will fail to recognize USB
devices when they are plugged in.
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb index 4c2e328e8..41f01bb89 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb | |||
@@ -80,6 +80,7 @@ do_install_append() { | |||
80 | #support for systemd | 80 | #support for systemd |
81 | install -d ${D}${systemd_unitdir}/system/ | 81 | install -d ${D}${systemd_unitdir}/system/ |
82 | install -m 0644 ${S}/systemd/${BPN}.service ${D}${systemd_unitdir}/system/${BPN}.service | 82 | install -m 0644 ${S}/systemd/${BPN}.service ${D}${systemd_unitdir}/system/${BPN}.service |
83 | install -m 0644 ${S}/systemd/${BPN}ctl@.service ${D}${systemd_unitdir}/system/${BPN}ctl@.service | ||
83 | install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket | 84 | install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket |
84 | } | 85 | } |
85 | 86 | ||
@@ -128,7 +129,7 @@ RDEPENDS_python-pygps = " \ | |||
128 | RPROVIDES_${PN} += "${PN}-systemd" | 129 | RPROVIDES_${PN} += "${PN}-systemd" |
129 | RREPLACES_${PN} += "${PN}-systemd" | 130 | RREPLACES_${PN} += "${PN}-systemd" |
130 | RCONFLICTS_${PN} += "${PN}-systemd" | 131 | RCONFLICTS_${PN} += "${PN}-systemd" |
131 | SYSTEMD_SERVICE_${PN} = "${PN}.socket" | 132 | SYSTEMD_SERVICE_${PN} = "${BPN}.socket ${BPN}ctl@.service" |
132 | 133 | ||
133 | 134 | ||
134 | ALTERNATIVE_${PN} = "gpsd-defaults" | 135 | ALTERNATIVE_${PN} = "gpsd-defaults" |