From 65bfc969f2ded079baa9ee87601c82aad2f7f5a7 Mon Sep 17 00:00:00 2001 From: h8d13 Date: Wed, 2 Sep 2026 00:55:12 +0200 Subject: [PATCH 1/2] chore(core): `reflector.service` removed in `archiso` since [87] - 2025-10-29 https://gitlab.archlinux.org/archlinux/archiso/-/blob/master/CHANGELOG.rst * remove it entirely from installer code Signed-off-by: h8d13 --- archinstall/lib/installer.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 8c6bee22e5..72d72ca9da 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -182,7 +182,6 @@ def append_mod(self, mod: str) -> None: def _verify_service_stop(self, offline: bool, skip_ntp: bool, skip_wkd: bool) -> None: """ Certain services might be running that affects the system during installation. - One such service is "reflector.service" which updates /etc/pacman.d/mirrorlist We need to wait for it before we continue since we opted in to use a custom mirror/region. """ @@ -203,17 +202,6 @@ def _verify_service_stop(self, offline: bool, skip_ntp: bool, skip_wkd: bool) -> else: info(tr('Skipping waiting for automatic time sync (this can cause issues if time is out of sync during installation)')) - if not offline: - info('Waiting for automatic mirror selection (reflector) to complete.') - for _ in range(60): - if self._service_state('reflector') in ('dead', 'failed', 'exited'): - break - time.sleep(1) - else: - warn('Reflector did not complete within 60 seconds, continuing anyway...') - else: - info('Skipped reflector...') - # info('Waiting for pacman-init.service to complete.') # while self._service_state('pacman-init') not in ('dead', 'failed', 'exited'): # time.sleep(1) From da3d6d30bf97825db2c1d899fa804fd050381ffa Mon Sep 17 00:00:00 2001 From: h8d13 Date: Wed, 2 Sep 2026 01:06:16 +0200 Subject: [PATCH 2/2] chore(parent): docstring, remove `offline` from `_verify_service_stop` Signed-off-by: h8d13 --- archinstall/lib/installer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 72d72ca9da..7029ac7ced 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -179,10 +179,10 @@ def append_mod(self, mod: str) -> None: if mod not in self._modules: self._modules.append(mod) - def _verify_service_stop(self, offline: bool, skip_ntp: bool, skip_wkd: bool) -> None: + def _verify_service_stop(self, skip_ntp: bool, skip_wkd: bool) -> None: """ Certain services might be running that affects the system during installation. - We need to wait for it before we continue since we opted in to use a custom mirror/region. + We need to wait for them, to make sure ISO has no boot defects before install. """ if not skip_ntp: @@ -244,7 +244,7 @@ def sanity_check( skip_wkd: bool = False, ) -> None: # self._verify_boot_part() - self._verify_service_stop(offline, skip_ntp, skip_wkd) + self._verify_service_stop(skip_ntp, skip_wkd) def mount_ordered_layout(self) -> None: debug('Mounting ordered layout')