aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-07-16 19:14:34 -0700
committerZac Medico <zmedico@gentoo.org>2024-07-16 19:14:34 -0700
commit20cd76664c11991e59b7d72b782fea96259ff9af (patch)
treea7a283598d37998205c20d518b6344e2199ace3d /man
parentconfig: Allow a repository to be configured using one of its aliases (diff)
downloadportage-20cd76664c11991e59b7d72b782fea96259ff9af.tar.gz
portage-20cd76664c11991e59b7d72b782fea96259ff9af.tar.bz2
portage-20cd76664c11991e59b7d72b782fea96259ff9af.zip
binrepos.conf: Support custom download location
Download packages to a custom location if it is configured in binrepos.conf, instead of PKGDIR. If a custom download location is not configured then inject downloaded packages into PKGDIR as usual. The binarytree download_required method should now be used instead of the isremote method to check if download is required, since a remote package may or may not be cached in the custom location. The get_local_repo_location method should be used to check if there is a custom download location, and if there is then downloaded packages must not be injected into PKGDIR. If any packages from a repo with a custom download location were injected into PKGDIR in the past, their identity will be recognized and will not be re-downloaded to the custom location. Bug: https://bugs.gentoo.org/934784 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/portage.57
1 files changed, 6 insertions, 1 deletions
diff --git a/man/portage.5 b/man/portage.5
index 66437d8f8..f5cbe0ad4 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -1,4 +1,4 @@
-.TH "PORTAGE" "5" "May 2024" "Portage @VERSION@" "Portage"
+.TH "PORTAGE" "5" "Jul 2024" "Portage @VERSION@" "Portage"
.SH NAME
portage \- the heart of Gentoo
.SH "DESCRIPTION"
@@ -667,6 +667,11 @@ overriding the value from \fBmake.conf\fR(5).
Specifies priority of given repository. When a package exists in multiple
repositories, those with higher priority are preferred.
.TP
+.B location
+Specify a cache location which serves as a partial local mirror of a
+remote repository. If unset then the effective default is PKGDIR
+(see \fBmake.conf\fR(5)).
+.TP
.B sync\-uri
Specifies URI of repository used for `emerge \-\-getbinpkg`.
.RE