[oe] [PATCH] ntpd-systemd: ntpd is started with -g parameter
Radek Dostal
rd at radekdostal.com
Thu May 24 17:58:42 UTC 2012
Please ignore this patch, now I understand how ntp works togehter with ntpdate.
Thanks,
Radek
On Thu, May 24, 2012 at 6:05 PM, Radek Dostal <rd at radekdostal.com> wrote:
> needed for correct functionality in systems without battery backed RTC
>
> Signed-off-by: Radek Dostal <rd at radekdostal.com>
> ---
> meta-oe/recipes-support/ntp/files/ntpd.service | 2 +-
> meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-support/ntp/files/ntpd.service b/meta-oe/recipes-support/ntp/files/ntpd.service
> index bd87b1e..0102ef0 100644
> --- a/meta-oe/recipes-support/ntp/files/ntpd.service
> +++ b/meta-oe/recipes-support/ntp/files/ntpd.service
> @@ -5,7 +5,7 @@ After=network.target
> [Service]
> Type=forking
> PIDFile=/run/ntpd.pid
> -ExecStart=/usr/bin/ntpd -p /run/ntpd.pid
> +ExecStart=/usr/bin/ntpd -g -p /run/ntpd.pid
>
> [Install]
> WantedBy=multi-user.target
> diff --git a/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb b/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb
> index ece8720..91d93c1 100644
> --- a/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb
> +++ b/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb
> @@ -1,6 +1,6 @@
> require ntp.inc
>
> -PR = "r5"
> +PR = "r6"
>
> inherit systemd
>
> --
> 1.7.5.4
>
More information about the Openembedded-devel
mailing list