Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627 - Need a way for system to use alternate mirrors for installing system
Summary: Need a way for system to use alternate mirrors for installing system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Geert Bevin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-09 23:58 UTC by Brian Raymond
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Raymond 2002-02-09 23:58:17 UTC
The bootstrap and system install is dependent on ibiblio at this point for
downloading of packages. Changing in make.globals doesn't help because it is
overwritten at the start of the bootstrap by the base packages (not sure exactly
where). Exporting the GENTOO_MIRRORS got me through the bootstrap by using hte
French mirror however when emerging the system some packages failed because they
still tried to pull from ibiblio. Ended up using URL rewriting in Apache to get
to the french mirror (different path name some simple host redirect doesn't work).

It would be desirable to include multiple mirrors that would be run through for
all packages taking into account the different paths on different mirrors.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-10 00:49:06 UTC
I think the way to do this is to upgrade ebuild.sh:

1. define GMIRROR=http://www.ibiblio.org/gentoo/distfiles
2. In the ebuild.sh download loop, redefine GMIRROR to point to the "current" mirror
3.  Then ebuilds can have SRC_URI="${GMIRROR}/foo.tar.gz"

(We can't use GENTOO_MIRRORS since it's designed to hold multiple mirrors; thus
GMIRROR)
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-02-23 13:28:32 UTC
This is fixed in portage-1.8.9_pre14 (in testing).  You can now specify
SRC_URI="http://mirror/foo.tar.gz" for files that we mirror directly. 
"http://mirror" gets expanded to the first mirror defined in GENTOO_MIRRORS, or
our main ibiblio source mirror if no GENTOO_MIRRORS are defined.