diff options
author | Bruno Thomsen <bruno.thomsen@gmail.com> | 2020-07-31 18:11:40 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-02 10:03:09 +0200 |
commit | 25bfd9d1eeb0021e507095722dadac91a8b55c10 (patch) | |
tree | 9ed1cf000d37fe3d7e428adc3678195dd9fc3c91 | |
parent | a1045bff1045a99c17f00ae017d58f6a0b7588fd (diff) | |
download | ptxdist-25bfd9d1eeb0021e507095722dadac91a8b55c10.tar.gz ptxdist-25bfd9d1eeb0021e507095722dadac91a8b55c10.tar.xz |
chrony: advanced monitoring command option
When you need to dig deep into NTP sync status.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Message-Id: <20200731161141.6155-6-bruno.thomsen@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/chrony.in | 7 | ||||
-rw-r--r-- | rules/chrony.make | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/rules/chrony.in b/rules/chrony.in index 44c12b423..2f906d2ce 100644 --- a/rules/chrony.in +++ b/rules/chrony.in @@ -29,6 +29,13 @@ config CHRONY_USE_NETTLE Use nettle crypto library for stronger keys than MD5 in NTP authentication. +config CHRONY_ADVANCED_COMMAND + bool + prompt "Enable advanced monitoring command" + help + This allows getting advanced NTP time synchronization + status monitoring from the service. + comment "install options ---" config CHRONY_INSTALL_CHRONY_COMMAND diff --git a/rules/chrony.make b/rules/chrony.make index 51141059c..4d6f58f3b 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -48,7 +48,8 @@ CHRONY_CONF_OPT := \ $(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--without-nettle) \ --without-nss \ --without-tomcrypt \ - --disable-cmdmon \ + $(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,,--disable-cmdmon) \ + $(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,--enable-debug,) \ --disable-refclock \ --disable-phc \ --disable-pps \ |