summaryrefslogtreecommitdiffstats
path: root/pym/portage
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage')
-rw-r--r--pym/portage/dbapi/bintree.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index 0df22a36c..89253a11f 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -739,6 +739,9 @@ class binarytree(object):
profile_path = profile_path.lstrip(profiles_base)
header["PROFILE"] = profile_path
header["VERSION"] = str(self._pkgindex_version)
+ binhost = self.settings.get("PORTAGE_BINHOST")
+ if binhost:
+ header["URI"] = binhost
for k in self._pkgindex_header_keys:
v = self.settings.get(k, None)
if v: