From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k1Xdc-0005tV-Oc for ptxdist@pengutronix.de; Fri, 31 Jul 2020 18:12:05 +0200 Received: by mail-wr1-x444.google.com with SMTP id y3so28494334wrl.4 for ; Fri, 31 Jul 2020 09:12:04 -0700 (PDT) From: Bruno Thomsen Date: Fri, 31 Jul 2020 18:11:40 +0200 Message-Id: <20200731161141.6155-6-bruno.thomsen@gmail.com> In-Reply-To: <20200731161141.6155-1-bruno.thomsen@gmail.com> References: <20200731161141.6155-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v3 6/7] chrony: advanced monitoring command option List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bruno Thomsen , bth@kamstrup.com When you need to dig deep into NTP sync status. Signed-off-by: Bruno Thomsen --- Changes since version 2: - Revert to ptx/ifdef from version 1 of patch. - Minor help text update. Changes since version 1: - Fixed yoda style subject line. - Replace ptx/ifdef with ptx/endis for explicit options. This outputs unrecognized options, but we still get expected result. Unrecognized option : --disable-debug Unrecognized option : --enable-cmdmon rules/chrony.in | 7 +++++++ rules/chrony.make | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/rules/chrony.in b/rules/chrony.in index 16b730199..e83013f68 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..d28ff4d28 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 \ -- 2.26.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de