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 <[email protected]>
$(call Package/chrony/Default)
TITLE+= (without NTS)
VARIANT:=normal
+ DEFAULT_VARIANT:=1
CONFLICTS:=chrony-nts
endef
TITLE+= (with NTS)
DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle
VARIANT:=with-nts
+ PROVIDES:=chrony
endef
define Package/chrony/description