mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gpsd: activate the systemd socket unit by default
@ 2020-07-13 10:43 Roland Hieber
  2020-07-17 11:57 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2020-07-13 10:43 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

Do the same as for the service unit, otherwise the installed socket unit
does not make much sense without additional configuration.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/gpsd.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/gpsd.make b/rules/gpsd.make
index 02328d7ca5e8..f75caa5b4bbd 100644
--- a/rules/gpsd.make
+++ b/rules/gpsd.make
@@ -170,6 +170,8 @@ ifdef PTXCONF_GPSD_SYSTEMD_UNIT
 		/usr/lib/systemd/system/multi-user.target.wants/gpsd.service)
 	@$(call install_alternative, gpsd, 0, 0, 644, \
 		/usr/lib/systemd/system/gpsd.socket)
+	@$(call install_link, gpsd, ../gpsd.socket, \
+		/usr/lib/systemd/system/sockets.target.wants/gpsd.socket)
 ifdef PTXCONF_GPSD_GPSCTL
 	@$(call install_alternative, gpsd, 0, 0, 644, \
 		/usr/lib/systemd/system/gpsdctl@.service)
-- 
2.27.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] gpsd: activate the systemd socket unit by default
  2020-07-13 10:43 [ptxdist] [PATCH] gpsd: activate the systemd socket unit by default Roland Hieber
@ 2020-07-17 11:57 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-07-17 11:57 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

Thanks, applied as 86f020c0261b19e120b22a979945b97bb9c5faab.

Michael

[sent from post-receive hook]

On Fri, 17 Jul 2020 13:57:03 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Do the same as for the service unit, otherwise the installed socket unit
> does not make much sense without additional configuration.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20200713104303.21475-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/gpsd.make b/rules/gpsd.make
> index 02328d7ca5e8..f75caa5b4bbd 100644
> --- a/rules/gpsd.make
> +++ b/rules/gpsd.make
> @@ -170,6 +170,8 @@ ifdef PTXCONF_GPSD_SYSTEMD_UNIT
>  		/usr/lib/systemd/system/multi-user.target.wants/gpsd.service)
>  	@$(call install_alternative, gpsd, 0, 0, 644, \
>  		/usr/lib/systemd/system/gpsd.socket)
> +	@$(call install_link, gpsd, ../gpsd.socket, \
> +		/usr/lib/systemd/system/sockets.target.wants/gpsd.socket)
>  ifdef PTXCONF_GPSD_GPSCTL
>  	@$(call install_alternative, gpsd, 0, 0, 644, \
>  		/usr/lib/systemd/system/gpsdctl@.service)

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-17 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 10:43 [ptxdist] [PATCH] gpsd: activate the systemd socket unit by default Roland Hieber
2020-07-17 11:57 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox