From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jyzwL-000749-HM for ptxdist@pengutronix.de; Fri, 24 Jul 2020 17:48:53 +0200 Received: by mail-wr1-x443.google.com with SMTP id f1so8193375wro.2 for ; Fri, 24 Jul 2020 08:48:53 -0700 (PDT) From: Bruno Thomsen Date: Fri, 24 Jul 2020 17:48:43 +0200 Message-Id: <20200724154843.5552-6-bruno.thomsen@gmail.com> In-Reply-To: <20200724154843.5552-1-bruno.thomsen@gmail.com> References: <20200724154843.5552-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 6/6] chrony: advanced command monitoring 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 --- 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 6a4f12de0..ad9baa2bf 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 command monitoring" + 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 d5ae52883..3d8b64b35 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -43,7 +43,8 @@ CHRONY_CONF_OPT := \ $(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--without-nettle) \ --without-nss \ --without-tomcrypt \ - --disable-cmdmon \ + $(call ptx/ifdef, CHRONY_ADVANCED_COMMAND,,--disable-cmdmon) \ + $(call ptx/ifdef, 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