replace chrony with timesyncd (#369)

* add systemd-timesyncd

* remove chrony

* [upload]
This commit is contained in:
Andrei Radulescu
2024-09-16 19:53:21 +03:00
committed by GitHub
parent 8759b3a563
commit a45d1a1a90
+1 -4
View File
@@ -58,7 +58,6 @@ apt-fast install --no-install-recommends -yq \
build-essential \
bzip2 \
curl \
chrony \
cpuset \
dfu-util \
evtest \
@@ -97,6 +96,7 @@ apt-fast install --no-install-recommends -yq \
sshfs \
sudo \
systemd-resolved \
systemd-timesyncd \
traceroute \
tk-dev \
ubuntu-minimal \
@@ -110,9 +110,6 @@ apt-fast install --no-install-recommends -yq \
rm -rf /var/lib/apt/lists/*
# Allow chrony to make a big adjustment to system time on boot
echo "makestep 0.1 3" >> /etc/chrony/chrony.conf
# Create dirs
mkdir /data && chown $USERNAME:$USERNAME /data
mkdir /persist && chown $USERNAME:$USERNAME /persist