mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
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 <newtwen+github@gmail.com>
This commit is contained in:
committed by
Tianling Shen
parent
bbaa539fbc
commit
505f3a0e17
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user