summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2020-01-02 14:34:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-01-12 13:56:10 +0100
commiteebfcb0128c3f0999d2a3d0e0f18c55c259b6f90 (patch)
tree986b6c92a4f53e6b3a42aae61ee3c822c4dc15b0 /projectroot
parente2b57fbfac85f650b9440279cf75a1045e81f83c (diff)
downloadptxdist-eebfcb0128c3f0999d2a3d0e0f18c55c259b6f90.tar.gz
ptxdist-eebfcb0128c3f0999d2a3d0e0f18c55c259b6f90.tar.xz
systemd: install systemd-timesync.list in ntp-units.d
When systemd-timesyncd is used, there should be an entry in ntp-units.d. Otherwise, timedatectl set-ntp sometimes fails with "NTP not supported". Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/usr/lib/systemd/ntp-units.d/80-systemd-timesync.list1
1 files changed, 1 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/ntp-units.d/80-systemd-timesync.list b/projectroot/usr/lib/systemd/ntp-units.d/80-systemd-timesync.list
new file mode 100644
index 000000000..d5959ade8
--- /dev/null
+++ b/projectroot/usr/lib/systemd/ntp-units.d/80-systemd-timesync.list
@@ -0,0 +1 @@
+systemd-timesyncd.service