Skip to content
Snippets Groups Projects
Verified Commit 20b7ca7f authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

gitlab_runner: adjust to arch-boxes switch to Geo

The arch-boxes images now default to Geo mirrors and no longer ship
reflector, so we don't have to disable reflector-init or update the
mirrorlist.
parent 9c183fb4
No related branches found
No related tags found
No related merge requests found
Pipeline #47006 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment