diff --git a/vagrant/boxes/archlinux_systemd.sh b/vagrant/boxes/archlinux_systemd.sh index baa395d1..11b0211e 100644 --- a/vagrant/boxes/archlinux_systemd.sh +++ b/vagrant/boxes/archlinux_systemd.sh @@ -8,6 +8,32 @@ whoami stat /dev/tpm0 [[ "$(/etc/pacman.conf <<\EOF +[options] +HoldPkg = pacman glibc +Architecture = auto +NoProgressBar +VerbosePkgLists +ParallelDownloads = 5 +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional + +[core] +SigLevel = PackageRequired +Server=https://archive.archlinux.org/repos/2023/09/24/$repo/os/$arch + +[extra] +SigLevel = PackageRequired +Server=https://archive.archlinux.org/repos/2023/09/24/$repo/os/$arch + +[community] +SigLevel = PackageRequired +Server=https://archive.archlinux.org/repos/2023/09/24/$repo/os/$arch +EOF + # Clear Pacman's caches pacman --noconfirm -Scc rm -fv /var/lib/pacman/sync/*.db @@ -16,7 +42,7 @@ pacman-key --init pacman-key --populate archlinux pacman --needed --noconfirm -Sy archlinux-keyring # Upgrade the system -pacman --noconfirm -Syu +pacman --noconfirm -Syuu # Install build dependencies # Package groups: base, base-devel pacman --needed --noconfirm -Sy base base-devel bpf btrfs-progs acl audit bash-completion clang compiler-rt docbook-xsl \ @@ -191,7 +217,14 @@ systemctl enable dhcpcd@eth0.service # so any future updates of kernel/initrd will still get installed under /boot. # However, we don't really care about this as this is a single-purpose CI image. MACHINE_ID="$(/efi/loader/entries/arch.conf <