On Wed, Nov 15, 2017 at 12:53 PM Martin Kelly <[email protected]> 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 <[email protected]>
> ---
>  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}[email protected]
> ${D}${systemd_unitdir}/system/${BPN}[email protected]
>      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}[email protected]"


This should be BPN as well I think

>
>
>
>  ALTERNATIVE_${PN} = "gpsd-defaults"
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to