Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Otavio Salvador
On Thu, Feb 16, 2012 at 00:03, Andreas Müller schnitzelt...@googlemail.comwrote: SYSTEMD_PACKAGES = ${PN}-systemd -SYSTEMD_SERVICE = ${PN}.socket +SYSTEMD_SERVICE = ${PN}.service Why? -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br

Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Andreas Müller
On Thu, Feb 16, 2012 at 11:10 AM, Otavio Salvador ota...@ossystems.com.br wrote: On Thu, Feb 16, 2012 at 00:03, Andreas Müller schnitzelt...@googlemail.comwrote:  SYSTEMD_PACKAGES = ${PN}-systemd -SYSTEMD_SERVICE = ${PN}.socket +SYSTEMD_SERVICE = ${PN}.service Why? As far as I can see

Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Otavio Salvador
On Thu, Feb 16, 2012 at 08:43, Andreas Müller schnitzelt...@googlemail.comwrote: As far as I can see there is no link from *.socket to *.service ( *.service requires *.socket) - correct?. Interesting: This was highlighted by the systemd.bbclass modification: without this patch *.service is

Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Otavio Salvador
On Thu, Feb 16, 2012 at 10:03, Andreas Müller schnitzelt...@googlemail.comwrote: OK - but is it a problem to choose *.service? Will systemd-sysctl-native do the expected job? Not really but it is a problem expect people will always choose .service file instead of .socket. -- Otavio Salvador

Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Andreas Müller
On Thu, Feb 16, 2012 at 1:13 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Thu, Feb 16, 2012 at 10:03, Andreas Müller schnitzelt...@googlemail.comwrote: OK - but is it a problem to choose *.service? Will systemd-sysctl-native do the expected job? Not really but it is a problem

Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Otavio Salvador
On Thu, Feb 16, 2012 at 12:04, Andreas Müller schnitzelt...@googlemail.comwrote: This is not the case for many packets having *.socket files referencing *.service by 'Also'. But in gpsd.socket is nothing like that. One question the other way round: What fallout do you expect by this patch?

Re: [oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-16 Thread Andreas Müller
On Thu, Feb 16, 2012 at 3:09 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Thu, Feb 16, 2012 at 12:04, Andreas Müller schnitzelt...@googlemail.comwrote: This is not the case for many packets having *.socket files referencing *.service by 'Also'. But in gpsd.socket is nothing like

[oe] [meta-oe][v2] 22/22] gpsd: use ${PN}.service instead ${PN}.socket in SYSTEMD_SERVICE to enable service

2012-02-15 Thread Andreas Müller
Signed-off-by: Andreas Müller schnitzelt...@googlemail.com --- meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb index