From d7449cc887a783febc07257e13dfda7c763a5afe Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 2 Nov 2021 09:23:02 +0000 Subject: Removed pacstrap of ntpd as it's redundant. Also enabled the systemd-timesyncd service before running a command against it. --- archinstall/lib/installer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index d1e36d98..c2c94206 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -248,9 +248,9 @@ class Installer: def activate_ntp(self): self.log('Installing and activating NTP.', level=logging.INFO) - if self.pacstrap('ntp'): - with Boot(self) as session: - session.SysCommand(["timedatectl", "set-ntp", 'true']) + self.enable_service('systemd-timesyncd'): + with Boot(self) as session: + session.SysCommand(["timedatectl", "set-ntp", 'true']) def enable_service(self, *services): for service in services: -- cgit v1.2.3-70-g09d2