Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/scripts
diff options
context:
space:
mode:
authorDaemon Coder <11915375+codefiles@users.noreply.github.com>2023-05-04 10:04:35 -0400
committerGitHub <noreply@github.com>2023-05-04 16:04:35 +0200
commitf211906a5afcfad553070748a779c3166d2b3b4b (patch)
treed300af146b352f091bdb38fd3e91fec179c320b7 /archinstall/scripts
parentfd83f073f3e84feb1388ef739c1096f7d4a741de (diff)
Remove obsolete enabling of NTP in ISO (#1729)
* Remove obsolete enabling of NTP in ISO * Fixed flake8 linting * Remove `activate_ntp()` * Update comment --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
Diffstat (limited to 'archinstall/scripts')
-rw-r--r--archinstall/scripts/guided.py3
-rw-r--r--archinstall/scripts/swiss.py6
2 files changed, 0 insertions, 9 deletions
diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py
index 6419c1dc..9906e0a9 100644
--- a/archinstall/scripts/guided.py
+++ b/archinstall/scripts/guided.py
@@ -149,9 +149,6 @@ def perform_installation(mountpoint: Path):
# generate encryption key files for the mounted luks devices
installation.generate_key_files()
- if archinstall.arguments.get('ntp', False):
- installation.activate_ntp()
-
# Set mirrors used by pacstrap (outside of installation)
if archinstall.arguments.get('mirror-region', None):
use_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors for the live medium
diff --git a/archinstall/scripts/swiss.py b/archinstall/scripts/swiss.py
index 2712807a..3bf847b1 100644
--- a/archinstall/scripts/swiss.py
+++ b/archinstall/scripts/swiss.py
@@ -74,9 +74,6 @@ class SetupMenu(GlobalMenu):
self.enable('abort')
def exit_callback(self):
- if self._data_store.get('ntp', False):
- archinstall.SysCommand('timedatectl set-ntp true')
-
if self._data_store.get('mode', None):
archinstall.arguments['mode'] = self._data_store['mode']
log(f"Archinstall will execute under {archinstall.arguments['mode']} mode")
@@ -203,9 +200,6 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode):
# generate encryption key files for the mounted luks devices
installation.generate_key_files()
- if archinstall.arguments.get('ntp', False):
- installation.activate_ntp()
-
# Set mirrors used by pacstrap (outside of installation)
if archinstall.arguments.get('mirror-region', None):
use_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors for the live medium