You are not logged in.
I have a scripted install that uses the Arch ISO with its "script" option as a launch platform. I need my script to wait until the booted iso environment is ready, in particular that its keyring is set up.
I could watch the journal for "A start job for unit archlinux-keyring-wkd-sync.timer has finished successfully" but that feels wrong...
I'd like my script to wait until the system it's running on is ready.
What's the correct way to do this, if there is one ?
Last edited by starfry (2024-01-02 16:04:03)
Offline
archlinux-keyring-wkd-sync.timer won't always trigger. You may want to watch for pacman-init.service instead.
E.g.:
while ! systemctl -q is-active pacman-init.service; do sleep 1; done
Offline
Thanks, that works for me
Offline