Fix pacman-key thingy

This commit is contained in:
Laura Hausmann 2023-03-15 18:21:18 +01:00
parent f6d8dcda5a
commit f5b3e9184b
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605

View file

@ -192,8 +192,10 @@ pacman_setup(){
pacman -Sy --needed --noconfirm archlinux-keyring
pacman -S --needed --noconfirm arch-install-scripts
echo "Waiting for pacman keyring to enter a consistent state..."
sleep 5
pacman-key --populate
while [[ $(systemctl show -p SubState --value pacman-init) != "exited" ]]; do
sleep 1
done
echo "Done. Preparing install..."
if [ ! -f /usr/bin/wget ]; then
pacman -S --needed --noconfirm wget libnewt
fi