public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] Select default repository in make.conf?
@ 2015-10-27 22:51 99% Frank Steinmetzger
  0 siblings, 0 replies; 1+ results
From: Frank Steinmetzger @ 2015-10-27 22:51 UTC (permalink / raw
  To: gentoo-user

Hi guys’n’gals

Before the introduction of repos.conf, we used several variables in
make.conf to tell portage where to find stuff, such as GENTOO_MIRRORS and
SYNC. My make.conf used to first define sensible defaults for those and then
has the line:

source homenet.conf

This file modifies those portage settings to reroute operations to within my
own network. Oftentimes either my PC or laptop is (far) ahead of the other
(tree sync, distfiles download). So to make them serve each other, which
reduces load on public servers and vastly speeds up distfiles download, this
homenet.conf file
- prepends a gentoo mirror
- sets the portage rsync server
- enables distcc on the laptop

So with a single (un)commenting of the source command, I could switch
between “normal” mode and “homenet” mode.

Since repos.conf came about, this doesn’t work anymore (the sync part,
anyway, for now). So nowadays, when I want to switch mode, I need to change
the source line and also need to change the sync-uri in repos.conf’s default
repository. That’s too much work. :-D

How would you advise to achieve what I’m after?
Thanks-a-doodle and good night.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

I can resist everything, except temptation.


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-10-27 22:51 99% [gentoo-user] Select default repository in make.conf? Frank Steinmetzger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox