All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] meta-systemd: ntp: Fix ntpdate.service file to use right binary
@ 2012-10-31 12:01 Otavio Salvador
  2012-10-31 12:07 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2012-10-31 12:01 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../recipes-support/ntp/ntp/ntpdate.service        |    2 +-
 .../recipes-support/ntp/ntp_4.2.6p5.bbappend       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
index b2bc632..8df9970 100644
--- a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
+++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
@@ -4,7 +4,7 @@ Before=ntpd.service
 
 [Service]
 Type=oneshot
-ExecStart=/usr/bin/ntpd -q -g -x
+ExecStart=/usr/bin/ntpdate pool.ntp.org
 RemainAfterExit=yes
 
 [Install]
diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend b/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend
index c6cd031..dbf3145 100644
--- a/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend
+++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p5.bbappend
@@ -1,6 +1,6 @@
 inherit systemd
 
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-- 
1.7.2.5




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

* Re: [meta-oe][PATCH] meta-systemd: ntp: Fix ntpdate.service file to use right binary
  2012-10-31 12:01 [meta-oe][PATCH] meta-systemd: ntp: Fix ntpdate.service file to use right binary Otavio Salvador
@ 2012-10-31 12:07 ` Paul Eggleton
  2012-10-31 12:10   ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2012-10-31 12:07 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: openembedded-devel

On Wednesday 31 October 2012 10:01:43 Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  .../recipes-support/ntp/ntp/ntpdate.service        |    2 +-
>  .../recipes-support/ntp/ntp_4.2.6p5.bbappend       |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git
> a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
> b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
> index b2bc632..8df9970 100644
> --- a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
> +++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
> @@ -4,7 +4,7 @@ Before=ntpd.service
> 
>  [Service]
>  Type=oneshot
> -ExecStart=/usr/bin/ntpd -q -g -x
> +ExecStart=/usr/bin/ntpdate pool.ntp.org

We *cannot* use pool.ntp.org for the reasons already discussed.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: [meta-oe][PATCH] meta-systemd: ntp: Fix ntpdate.service file to use right binary
  2012-10-31 12:07 ` Paul Eggleton
@ 2012-10-31 12:10   ` Otavio Salvador
  0 siblings, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2012-10-31 12:10 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel

On Wed, Oct 31, 2012 at 10:07 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Wednesday 31 October 2012 10:01:43 Otavio Salvador wrote:
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>  .../recipes-support/ntp/ntp/ntpdate.service        |    2 +-
>>  .../recipes-support/ntp/ntp_4.2.6p5.bbappend       |    2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git
>> a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
>> b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
>> index b2bc632..8df9970 100644
>> --- a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
>> +++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
>> @@ -4,7 +4,7 @@ Before=ntpd.service
>>
>>  [Service]
>>  Type=oneshot
>> -ExecStart=/usr/bin/ntpd -q -g -x
>> +ExecStart=/usr/bin/ntpdate pool.ntp.org
>
> We *cannot* use pool.ntp.org for the reasons already discussed.

Do you have a pointer for this discussion?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



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

end of thread, other threads:[~2012-10-31 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 12:01 [meta-oe][PATCH] meta-systemd: ntp: Fix ntpdate.service file to use right binary Otavio Salvador
2012-10-31 12:07 ` Paul Eggleton
2012-10-31 12:10   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.