diff --git a/roles/gitlab_runner/files/libvirt-executor-update-base-image b/roles/gitlab_runner/files/libvirt-executor-update-base-image index e7b9a2747bee96caab01b1119107c0c2277740b9..d5a4877558d1999dd6e0d1cf002437038c120211 100755 --- a/roles/gitlab_runner/files/libvirt-executor-update-base-image +++ b/roles/gitlab_runner/files/libvirt-executor-update-base-image @@ -30,9 +30,7 @@ mount --mkdir "${loopdev}p2" mnt arch-chroot mnt pacman-key --init arch-chroot mnt pacman-key --populate -# shellcheck disable=SC2016 -printf 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch' > mnt/etc/pacman.d/mirrorlist -arch-chroot mnt systemctl disable reflector-init systemd-time-wait-sync +arch-chroot mnt systemctl disable systemd-time-wait-sync arch-chroot mnt pacman -Sy --noconfirm --needed archlinux-keyring arch-chroot mnt pacman -Syu --noconfirm --needed git git-lfs gitlab-runner sed -E 's/^#(IgnorePkg *=)/\1 linux/' -i mnt/etc/pacman.conf