summaryrefslogtreecommitdiff
path: root/config-timedate-utc.PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'config-timedate-utc.PKGBUILD')
-rw-r--r--config-timedate-utc.PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/config-timedate-utc.PKGBUILD b/config-timedate-utc.PKGBUILD
new file mode 100644
index 0000000..62ac92b
--- /dev/null
+++ b/config-timedate-utc.PKGBUILD
@@ -0,0 +1,15 @@
+. ${BUILDFILE%/*}/common.sh
+pkgver=20160712.1
+
+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
+
+}