]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - src/pakfire/lib/functions.pl
pakfire: Allow pinning Pakfire to one mirror server
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Oct 2021 19:01:49 +0000 (19:01 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 19 Oct 2021 11:28:39 +0000 (11:28 +0000)
commitec18a1ecae60c6c3b6418e300aebd6a823844c8d
tree4d9e2e0d2f67e6b847dfb69d43dc2ad91f570022
parent56702858529ae1bf75e21da3ef00f136bacedfcd
pakfire: Allow pinning Pakfire to one mirror server

This patch adds a new $mirror option to the configuration file which
will cause Pakfire to only use this one to download any files.

This feature is disabled by default but useful for development.

Fixes: #12706
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/pakfire/lib/functions.pl
src/pakfire/pakfire.conf