mirror of https://gitee.com/openkylin/systemd.git
timesyncd: modify ntp server to ntp4.aliyun.com ntp3.aliyun.com ntp2.aliyun.com ntp1.aliyun.com
Signed-off-by: shilongzhen <shilongzhen@kylinos.cn>
This commit is contained in:
parent
9536016e82
commit
8b57fd2604
|
@ -9,7 +9,7 @@ include /usr/share/dpkg/default.mk
|
|||
#include /usr/share/debhelper/dh_package_notes/package-notes.mk
|
||||
|
||||
ifeq ($(DEB_VENDOR),Ubuntu)
|
||||
DEFAULT_NTP_SERVERS = ntp.ubuntu.com
|
||||
DEFAULT_NTP_SERVERS = ntp4.aliyun.com ntp3.aliyun.com ntp2.aliyun.com ntp1.aliyun.com
|
||||
SUPPORT_URL = http://www.ubuntu.com/support
|
||||
CONFFLAGS_DISTRO =
|
||||
ifeq ($(DEB_HOST_ARCH),amd64)
|
||||
|
@ -18,7 +18,7 @@ ifeq ($(DEB_HOST_ARCH),amd64)
|
|||
export DEB_LDFLAGS_MAINT_APPEND=-fcf-protection
|
||||
endif
|
||||
else
|
||||
DEFAULT_NTP_SERVERS = 0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
|
||||
DEFAULT_NTP_SERVERS = ntp4.aliyun.com ntp3.aliyun.com ntp2.aliyun.com ntp1.aliyun.com
|
||||
SUPPORT_URL = https://www.debian.org/support
|
||||
CONFFLAGS_DISTRO =
|
||||
endif
|
||||
|
|
|
@ -330,7 +330,7 @@ option('dns-servers', type : 'string',
|
|||
value : '1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google')
|
||||
option('ntp-servers', type : 'string',
|
||||
description : 'space-separated list of default NTP servers',
|
||||
value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
|
||||
value : 'ntp4.aliyun.com ntp3.aliyun.com ntp2.aliyun.com ntp1.aliyun.com')
|
||||
option('support-url', type : 'string',
|
||||
description : 'the support URL to show in catalog entries included in systemd',
|
||||
value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
|
||||
|
|
Loading…
Reference in New Issue