Wrap downloads by pacman in another faketime call to cancel the one in "pacman-faketime"

Without this second faketime call the TLS certificate validity times will pose a problem when
downloading from https mirrors.

Hopefully fixes #313 for good.
This commit is contained in:
Gerd v. Egidy 2022-12-16 22:22:45 +01:00
parent 4170da1dc5
commit 04fa4bc9c0

View file

@ -18,6 +18,12 @@
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
# wrap downloading in a faketime call that uses the real "today" as date
# this is to counter the faketime date introduced when running "pacman-faketime"
# necessary to deal with TLS certificate lifetimes
XferCommand = /usr/bin/faketime "today" /usr/bin/curl --continue-at - --output "%o" --fail --location "%u"
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto