summaryrefslogtreecommitdiff
path: root/config-timedate.PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-12 01:55:16 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-12 01:55:16 -0400
commitad057ec1d88d71018e1d82c2fb765a4f7a746579 (patch)
tree58d1e98dc79fae31dcd79d2542401de9a3227452 /config-timedate.PKGBUILD
initial commit
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
+}