]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
pakfire: Allow pinning Pakfire to one mirror server pakfire-mirror
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Oct 2021 18:58:40 +0000 (19:58 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 14 Oct 2021 18:58:40 +0000 (19:58 +0100)
commitcf06179e0e69d60248e84bc161a7282c0074799e
tree706ba6ea9b25615f2fad6ade664f8e54384d2b89
parentc8bb619a71cdea01bc86fe20d2d73f8fec4cf7e0
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>
src/pakfire/lib/functions.pl
src/pakfire/pakfire.conf