Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-04-19 06:52:51 -0400
committerGitHub <noreply@github.com>2023-04-19 12:52:51 +0200
commit5253e57e9f26cf3e59cb2460544af13f56e485bb (patch)
treeeddd364e5d02a626b8e2172a0fd7ae42a111beec
parent98f13ece6e99e32604e915c1e5e43527a7578346 (diff)
Remove superfluous time sync steps (#1752)
-rw-r--r--archinstall/lib/installer.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index b33a1a34..b4d253b3 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -531,15 +531,6 @@ class Installer:
self.log('Activating systemd-timesyncd for time synchronization using Arch Linux and ntp.org NTP servers.', level=logging.INFO)
self.enable_service('systemd-timesyncd')
- with open(f"{self.target}/etc/systemd/timesyncd.conf", "w") as fh:
- fh.write("[Time]\n")
- fh.write("NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org\n")
- fh.write("FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 0.fr.pool.ntp.org\n")
-
- from .systemd import Boot
- with Boot(self) as session:
- session.SysCommand(["timedatectl", "set-ntp", 'true'])
-
def enable_espeakup(self) -> None:
self.log('Enabling espeakup.service for speech synthesis (accessibility).', level=logging.INFO)
self.enable_service('espeakup')