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

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" -type f -printf '%P\n'))
}