From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k0rm8-0007Mk-7H for ptxdist@pengutronix.de; Wed, 29 Jul 2020 21:30:04 +0200 Received: by mail-wm1-x342.google.com with SMTP id k8so4102644wma.2 for ; Wed, 29 Jul 2020 12:30:04 -0700 (PDT) From: Bruno Thomsen Date: Wed, 29 Jul 2020 21:29:28 +0200 Message-Id: <20200729192928.5765-6-bruno.thomsen@gmail.com> In-Reply-To: <20200729192928.5765-1-bruno.thomsen@gmail.com> References: <20200729192928.5765-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 6/6] 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 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 6e79270e5..4f8c89a69 100644 --- a/rules/chrony.in +++ b/rules/chrony.in @@ -36,6 +36,13 @@ config CHRONY_RUN_AS_NON_ROOT Default chronyd is started as root, select this to run service with chrony user. +config CHRONY_ADVANCED_COMMAND + bool + prompt "Enable advanced monitoring command" + help + This allow getting advanced NTP sync status + monitoring from the service. + comment "install options ---" config CHRONY_INSTALL_CHRONY_COMMAND diff --git a/rules/chrony.make b/rules/chrony.make index b28eeb196..ba05ee2e6 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -43,7 +43,8 @@ CHRONY_CONF_OPT := \ --$(call ptx/wwo, PTXCONF_CHRONY_USE_NETTLE)-nettle \ --without-nss \ --without-tomcrypt \ - --disable-cmdmon \ + --$(call ptx/endis, PTXCONF_CHRONY_ADVANCED_COMMAND)-cmdmon \ + --$(call ptx/endis, PTXCONF_CHRONY_ADVANCED_COMMAND)-debug \ --enable-ntp \ --disable-refclock \ --disable-phc \ -- 2.26.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de