common_arch: Update system before continue

This commit is contained in:
timoxa0 2024-11-02 23:38:08 +05:00
parent 03cd64b292
commit 21af2042cd

View file

@ -64,6 +64,11 @@ prepare_system()
chroot "$rootdir" pacman -Sy archlinux-keyring archlinuxarm-keyring --noconfirm || { chroot "$rootdir" pacman -Sy archlinux-keyring archlinuxarm-keyring --noconfirm || {
log "Failed to update pacman keyrings" log "Failed to update pacman keyrings"
} }
log "Updating system" internal
chroot "$rootdir" pacman -Syu --noconfirm || {
log "Failed to update system"
}
return 0 return 0
} }