summaryrefslogtreecommitdiff
path: root/config-timedate.PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'config-timedate.PKGBUILD')
-rw-r--r--config-timedate.PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/config-timedate.PKGBUILD b/config-timedate.PKGBUILD
new file mode 100644
index 0000000..8c8cf19
--- /dev/null
+++ b/config-timedate.PKGBUILD
@@ -0,0 +1,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
+}