mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-06 16:50:18 +01:00
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:
parent
4170da1dc5
commit
04fa4bc9c0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue