From 5e9e1b1699095cd2333d34b936338ec26ef6bdee Mon Sep 17 00:00:00 2001 From: eoli3n Date: Tue, 5 May 2020 20:54:19 +0200 Subject: [PATCH] try with archzfs archive as repo --- init | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/init b/init index 370a4e0..ef38c26 100755 --- a/init +++ b/init @@ -13,24 +13,15 @@ print "Testing if archiso is running" grep archiso /proc/cmdline -print "Setting mirrorlist to current archiso date" - -# Temp fix as https://archive.archlinux.org/repos/2020/05/01/ is empty because of a bug -if [[ $1 =~ ^[0-9]{4}/[0-9]{2}/[0-9]{2}$ ]] -then - iso_date=$1 -else - iso_date=$(date +%Y/%m/%d -d "$(LANG=C pacman -Qi linux |sed -n 's/^Install Date\s*: //p')") -fi -echo "Server=https://archive.archlinux.org/repos/$iso_date/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist - -print "Adding archzfs repo" +print "Adding archzfs repo and archives" cat >> /etc/pacman.conf <<"EOF" [archzfs] Server = http://archzfs.com/archzfs/x86_64 Server = http://mirror.sum7.eu/archlinux/archzfs/archzfs/x86_64 Server = https://mirror.biocrafting.net/archlinux/archzfs/archzfs/x86_64 +[archzfs_archives] +Server = http://archzfs.com/archive_archzfs EOF print "Fetching archzfs signing keys"