From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200713104303.21475-1-rhi@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Fri, 17 Jul 2020 13:57:03 +0200 Subject: Re: [ptxdist] [APPLIED] gpsd: activate the systemd socket unit by default List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber Thanks, applied as 86f020c0261b19e120b22a979945b97bb9c5faab. Michael [sent from post-receive hook] On Fri, 17 Jul 2020 13:57:03 +0200, Roland Hieber 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 > Message-Id: <20200713104303.21475-1-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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