summaryrefslogtreecommitdiff
path: root/config-timedate.PKGBUILD
blob: 8c8cf198ce588d737a490644f6c042763a4137fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkgver=1
pkgrel=1
arch=(any)

pkgname=config-timedate

package() {
	cd "$pkgdir"

	install -dm755 etc/systemd/system/sysinit.target.wants

	# Consider UTC to be the timezone, since we have admins all
	# over the place.
	ln -s ../usr/share/zoneinfo/UTC etc/localtime

	# Use timesyncd NTP client daemon.
	ln -s /usr/lib/systemd/system/systemd-timesyncd.service etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
}