mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ntp: select ntpd for systemd service
@ 2014-08-04 11:05 Markus Pargmann
  2014-08-04 14:34 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Pargmann @ 2014-08-04 11:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

The ntp systemd service file will call ntpd. If ntpd is not configured
to be installed, the service will fail.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/ntp.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/ntp.in b/rules/ntp.in
index 26addd587ff0..39556622bc92 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -237,6 +237,7 @@ config NTP_NTPD_SYSTEMD_UNIT
 	bool
 	default y
 	depends on SYSTEMD
+	select NTP_NTPD
 	prompt "install systemd service file"
 
 config NTP_NTPDC
-- 
2.0.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] ntp: select ntpd for systemd service
  2014-08-04 11:05 [ptxdist] [PATCH] ntp: select ntpd for systemd service Markus Pargmann
@ 2014-08-04 14:34 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-08-04 14:34 UTC (permalink / raw)
  To: ptxdist

On Mon, Aug 04, 2014 at 01:05:52PM +0200, Markus Pargmann wrote:
> The ntp systemd service file will call ntpd. If ntpd is not configured
> to be installed, the service will fail.
> 
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
> ---
>  rules/ntp.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/ntp.in b/rules/ntp.in
> index 26addd587ff0..39556622bc92 100644
> --- a/rules/ntp.in
> +++ b/rules/ntp.in
> @@ -237,6 +237,7 @@ config NTP_NTPD_SYSTEMD_UNIT
>  	bool
>  	default y
>  	depends on SYSTEMD
> +	select NTP_NTPD

	depends on NTP_NTPD

Otherwise this can conflict with the 'depends on !BUSYBOX_NTPD' from
NTP_NTPD.

Michael

>  	prompt "install systemd service file"
>  
>  config NTP_NTPDC
> -- 
> 2.0.1
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-08-04 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 11:05 [ptxdist] [PATCH] ntp: select ntpd for systemd service Markus Pargmann
2014-08-04 14:34 ` Michael Olbrich

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