commit:     b0e46fcbd9c43a003ccece0d28cbcfc924716e50
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 17:10:03 2026 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Jan 23 20:25:20 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b0e46fcb

stagebase: use 'gentoo' as name + location for binhost

It's cleaner and as dilfridge points out, we'd have 'binhost' in the path
twice otherwise.

We only put the location explicitly here to cope with older Portage,
newer Portage will do this by default.

Closes: https://github.com/gentoo/catalyst/pull/29
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/base/stagebase.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 510aaaa8..9b14eb8c 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1300,11 +1300,11 @@ class StageBase(TargetBase, ClearBase, GenBase):
                 myb.write("# These settings were set by the catalyst build 
script "
                         "that automatically\n# built this stage.\n")
                 myb.write("# Please consider using a local mirror.\n\n")
-                myb.write("[gentoobinhost]\n")
+                myb.write("[gentoo]\n")
                 myb.write("priority = 1\n")
                 myb.write("sync-uri = " + self.settings["binhost"] + \
                         self.settings["binrepo_path"] + "\n")
-                myb.write("location = /var/cache/binhost/gentoobinhost\n")
+                myb.write("location = /var/cache/binhost/gentoo\n")
                 myb.write("verify-signature = true\n")
 
     def fsscript(self):

Reply via email to