From 21af2042cd2ccffb271010c60db28fec7effaafc Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sat, 2 Nov 2024 23:38:08 +0500 Subject: [PATCH] common_arch: Update system before continue --- common.d/common.arch.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.d/common.arch.sh b/common.d/common.arch.sh index c73b2d4..9a95dbf 100644 --- a/common.d/common.arch.sh +++ b/common.d/common.arch.sh @@ -64,6 +64,11 @@ prepare_system() chroot "$rootdir" pacman -Sy archlinux-keyring archlinuxarm-keyring --noconfirm || { log "Failed to update pacman keyrings" } + + log "Updating system" internal + chroot "$rootdir" pacman -Syu --noconfirm || { + log "Failed to update system" + } return 0 }