From: Jan Luebbe <jlu@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: [ptxdist] [PATCH] ntp: add option to install ntptime
Date: Thu, 1 Sep 2016 13:51:20 +0200 [thread overview]
Message-ID: <1472730680-22661-1-git-send-email-jlu@pengutronix.de> (raw)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
rules/ntp.in | 8 ++++++++
rules/ntp.make | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/rules/ntp.in b/rules/ntp.in
index dc244a1c9857..b8fdca23ebef 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -260,6 +260,14 @@ config NTP_NTPQ
The ntpq utility program is used to monitor NTP daemon ntpd
operations and determine performance.
+config NTP_NTPTIME
+ bool
+ prompt "install ntptime"
+ depends on NTP
+ help
+ The ntptime utility program is used to read the kernel's NTP time
+ variables.
+
endif
comment "NTP conflicts with OpenNTPD"
diff --git a/rules/ntp.make b/rules/ntp.make
index 1f7bc3eae69c..3a9677aa1ed7 100644
--- a/rules/ntp.make
+++ b/rules/ntp.make
@@ -366,6 +366,14 @@ ifdef PTXCONF_NTP_NTPQ
endif
# #
+# # ntptime
+# #
+ifdef PTXCONF_NTP_NTPTIME
+ @$(call install_copy, ntp, 0, 0, 0755, -, \
+ /usr/sbin/ntptime)
+endif
+
+# #
# # other dirs
# #
@$(call install_copy, ntp, 0, 0, 0755, /var/log/ntpstats)
--
2.1.4
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2016-09-01 11:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1472730680-22661-1-git-send-email-jlu@pengutronix.de \
--to=jlu@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox