[oe] [meta-oe][PATCH 2/2] gpsd: add gpsdctl at .service for USB autoplug
Khem Raj
raj.khem at gmail.com
Thu Nov 16 03:13:30 UTC 2017
On Wed, Nov 15, 2017 at 12:53 PM Martin Kelly <mkelly at xevo.com> wrote:
> 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 at xevo.com>
> ---
> meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb
> b/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb
> index e94d6a108..80d9b0edf 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() {
> #support for systemd
> install -d ${D}${systemd_unitdir}/system/
> install -m 0644 ${S}/systemd/${BPN}.service
> ${D}${systemd_unitdir}/system/${BPN}.service
> + install -m 0644 ${S}/systemd/${BPN}ctl at .service
> ${D}${systemd_unitdir}/system/${BPN}ctl at .service
> install -m 0644 ${S}/systemd/${BPN}.socket
> ${D}${systemd_unitdir}/system/${BPN}.socket
> }
>
> @@ -121,7 +122,7 @@ RDEPENDS_python-pygps = "python-core python-curses
> gpsd python-json"
> RPROVIDES_${PN} += "${PN}-systemd"
> RREPLACES_${PN} += "${PN}-systemd"
> RCONFLICTS_${PN} += "${PN}-systemd"
> -SYSTEMD_SERVICE_${PN} = "${PN}.socket"
> +SYSTEMD_SERVICE_${PN} = "${PN}.socket ${PN}ctl at .service"
This should be BPN as well I think
>
>
>
> ALTERNATIVE_${PN} = "gpsd-defaults"
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list