From 505f3a0e175029420e7fdede1a9b47293e430460 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Wed, 29 Oct 2025 15:48:57 +0100 Subject: [PATCH] chrony: add provides logic to Makefile This satisfies other packages which might depend on either chrony variant. Should another package dependency request 'chrony', the default will be non-NTS chrony via DEFAULT_VARIANT:=1 (mlichvar comment: to avoid pulling its large dependencies). Signed-off-by: Paul Donald --- net/chrony/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index d491a97283..d7bf9a5330 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -40,6 +40,7 @@ define Package/chrony $(call Package/chrony/Default) TITLE+= (without NTS) VARIANT:=normal + DEFAULT_VARIANT:=1 CONFLICTS:=chrony-nts endef @@ -48,6 +49,7 @@ $(call Package/chrony/Default) TITLE+= (with NTS) DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle VARIANT:=with-nts + PROVIDES:=chrony endef define Package/chrony/description -- 2.30.2