common_arch: Update system before continue
This commit is contained in:
parent
03cd64b292
commit
21af2042cd
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue