mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-19 22:02:04 +08:00
replace chrony with timesyncd (#369)
* add systemd-timesyncd * remove chrony * [upload]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user