summaryrefslogtreecommitdiff
path: root/config-timedate-utc.PKGBUILD
blob: a4658f164de7f7c220056da3f803aeef0f602682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
. ${BUILDFILE%/*}/common.sh
pkgver=20160713.3

package() {
cd "$pkgdir"

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

# Use timesyncd NTP client daemon.
add-unit etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service

backup=($(find "$pkgdir" -printf '%P\n'))
}