Skip to content

Commit 38cf9bc

Browse files
committed
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 Signed-off-by: Paul Donald <[email protected]>
1 parent 8fcf45d commit 38cf9bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net/chrony/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@ define Package/chrony
4040
$(call Package/chrony/Default)
4141
TITLE+= (without NTS)
4242
VARIANT:=normal
43+
DEFAULT_VARIANT:=1
4344
CONFLICTS:=chrony-nts
45+
PROVIDES:=chrony
4446
endef
4547

4648
define Package/chrony-nts
4749
$(call Package/chrony/Default)
4850
TITLE+= (with NTS)
4951
DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle
5052
VARIANT:=with-nts
53+
PROVIDES:=chrony
5154
endef
5255

5356
define Package/chrony/description

0 commit comments

Comments
 (0)