mkimage-profiles/features.in/ntp/config.mk
Anton Midyukov 6968933e29 ntp: fix add fallbck THE_NTPD_SERVICE
use/ntp was broken by commit 7ef157e2b1
2021-09-04 21:52:15 +07:00

18 lines
530 B
Makefile

use/ntp: use/services use/pkgpriorities
@$(call add_feature)
@$(call try,THE_NTPD,openntpd)
@$(call add,THE_PACKAGES,$$(THE_NTPD))
@$(call add,PINNED_PACKAGES,$$(THE_NTPD))
@$(call try,THE_NTPD_SERVICE,openntpd)
@$(call add,DEFAULT_SERVICES_ENABLE,$$(THE_NTPD_SERVICE))
use/ntp/client: use/ntp
@$(call set,THE_NTPD,openntpd)
@$(call set,THE_NTPD_SERVICE,ntpd)
@$(call add,NTP_SERVERS,pool.ntp.org)
@$(call xport,NTP_SERVERS)
use/ntp/chrony: use/ntp
@$(call set,THE_NTPD,chrony)
@$(call set,THE_NTPD_SERVICE,chronyd)