Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 3 insertions, 3 deletions
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: