From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][meta-systemd][PATCH] ntp: Create a separate package for sntp
Date: Sat, 16 Feb 2013 19:44:35 +0000 [thread overview]
Message-ID: <2516837.HYYY156nkD@helios> (raw)
In-Reply-To: <1360956138-30930-1-git-send-email-raj.khem@gmail.com>
On Friday 15 February 2013 11:22:18 Khem Raj wrote:
> sntp provides the functionality of obsoleted ntpdate
> so we have option of using ntpd as well as sntp
> sntp does the immediate one time sync with time
> server and corrects the tme immediately. it
> replaces ntpdate nicely.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta-networking/recipes-support/ntp/ntp.inc | 3 ++-
> .../meta-networking/recipes-support/ntp/ntp/sntp | 1 +
> .../recipes-support/ntp/ntp/sntp.service | 11 +++++++++++
> .../recipes-support/ntp/ntp_4.2.6p5.bbappend | 9 ++++++++-
> 4 files changed, 22 insertions(+), 2 deletions(-)
> create mode 100644
> meta-systemd/meta-networking/recipes-support/ntp/ntp/sntp create mode
> 100644 meta-systemd/meta-networking/recipes-support/ntp/ntp/sntp.service
>
> diff --git a/meta-networking/recipes-support/ntp/ntp.inc
> b/meta-networking/recipes-support/ntp/ntp.inc index d93f22d..cec0f22 100644
> --- a/meta-networking/recipes-support/ntp/ntp.inc
> +++ b/meta-networking/recipes-support/ntp/ntp.inc
> @@ -54,7 +54,7 @@ do_install_append() {
> ln -s ${bindir}/ntpdate-sync ${D}/${sysconfdir}/network/if-up.d
> }
>
> -PACKAGES += "ntpdate ${PN}-tickadj ${PN}-utils"
> +PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
> # NOTE: you don't need ntpdate, use "ntpd -q -g -x"
>
> # ntp originally includes tickadj. It's split off for inclusion in small
> firmware images on platforms @@ -69,6 +69,7 @@ RSUGGESTS_${PN} = "iana-etc"
>
> FILES_${PN} = "${bindir}/ntpd ${sysconfdir}/ntp.conf
> ${sysconfdir}/init.d/ntpd ${sbindir} ${libdir}" FILES_${PN}-tickadj =
> "${bindir}/tickadj"
> +FILES_sntp = "${bindir}/sntp"
> FILES_${PN}-utils = "${bindir}"
> FILES_ntpdate = "${bindir}/ntpdate
> ${sysconfdir}/network/if-up.d/ntpdate-sync ${bindir}/ntpdate-sync
> ${sysconfdir}/default/ntpdate"
>
> diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp/sntp
> b/meta-systemd/meta-networking/recipes-support/ntp/ntp/sntp new file mode
> 100644
> index 0000000..9529cdf
> --- /dev/null
> +++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp/sntp
> @@ -0,0 +1 @@
> +NTPSERVER="pool.ntp.org"
Argh, no, we cannot use this as a default. We discussed this at length
earlier.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-02-16 20:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 19:22 [meta-networking][meta-systemd][PATCH] ntp: Create a separate package for sntp Khem Raj
2013-02-16 19:44 ` Paul Eggleton [this message]
2013-04-13 15:01 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2516837.HYYY156nkD@helios \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.