mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04: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)
|
$(call Package/chrony/Default)
|
||||||
TITLE+= (without NTS)
|
TITLE+= (without NTS)
|
||||||
VARIANT:=normal
|
VARIANT:=normal
|
||||||
|
DEFAULT_VARIANT:=1
|
||||||
CONFLICTS:=chrony-nts
|
CONFLICTS:=chrony-nts
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -48,6 +49,7 @@ $(call Package/chrony/Default)
|
|||||||
TITLE+= (with NTS)
|
TITLE+= (with NTS)
|
||||||
DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle
|
DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle
|
||||||
VARIANT:=with-nts
|
VARIANT:=with-nts
|
||||||
|
PROVIDES:=chrony
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/chrony/description
|
define Package/chrony/description
|
||||||
|
|||||||
Reference in New Issue
Block a user