Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-02-27 11:56:44 +0100
committerGitHub <noreply@github.com>2023-02-27 11:56:44 +0100
commit3f5170f4227a05b17b01645386e3208137b259dd (patch)
tree732cbfea7bd1137ae319d1858916cc4502dbe3b3
parent50d20f0b809758d067bc23f6c8bf2a36f61cc738 (diff)
Added 'exited' as a viable status code for services
-rw-r--r--examples/guided.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index e0753834..0bf30c46 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -173,15 +173,15 @@ def perform_installation(mountpoint):
# Currently, only 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.
installation.log('Waiting for automatic mirror selection (reflector) to complete.', level=logging.INFO)
- while archinstall.service_state('reflector') not in ('dead', 'failed'):
+ while archinstall.service_state('reflector') not in ('dead', 'failed', 'exited'):
time.sleep(1)
installation.log('Waiting pacman-init.service to complete.', level=logging.INFO)
- while archinstall.service_state('pacman-init') not in ('dead', 'failed'):
+ while archinstall.service_state('pacman-init') not in ('dead', 'failed', 'exited'):
time.sleep(1)
installation.log('Waiting Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete.', level=logging.INFO)
- while archinstall.service_state('archlinux-keyring-wkd-sync') not in ('dead', 'failed'):
+ while archinstall.service_state('archlinux-keyring-wkd-sync') not in ('dead', 'failed', 'exited'):
time.sleep(1)
# Set mirrors used by pacstrap (outside of installation)