dont bother the FAU mirror
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing

This commit is contained in:
Patrick Michl 2022-02-21 19:01:03 +01:00
parent 05062cabe9
commit fd2f8620af

View File

@ -6,11 +6,11 @@ bchroot() { ./root.x86_64/usr/bin/arch-chroot root.x86_64 $@; }
rchroot() { ./root.x86_64/usr/bin/arch-chroot root.x86_64/mnt $@; }
curl -o archlinux-bootstrap.tgz "https://ftp.fau.de/archlinux/iso/latest/archlinux-bootstrap-$(date '+%Y.%m.01')-x86_64.tar.gz"
curl -o archlinux-bootstrap.tgz "https:///mirror.ubrco.de/archlinux/iso/latest/archlinux-bootstrap-$(date '+%Y.%m.01')-x86_64.tar.gz"
tar xzf archlinux-bootstrap.tgz
mount --bind root.x86_64 root.x86_64
echo 'Server = https://ftp.fau.de/archlinux/$repo/os/$arch' > root.x86_64/etc/pacman.d/mirrorlist
echo 'Server = https:///mirror.ubrco.de/archlinux/$repo/os/$arch' > root.x86_64/etc/pacman.d/mirrorlist
bchroot pacman-key --init
bchroot pacman-key --populate archlinux