commit:     231e4d7664b53f7aec434965dea57161474de194
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: Sun Feb 15 14:59:15 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=231e4d76

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>
(cherry picked from commit b0e46fcbd9c43a003ccece0d28cbcfc924716e50)

 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 409fac85..176a5fc5 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1284,11 +1284,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