View previous topic :: View next topic |
Author |
Message |
mody Apprentice
Joined: 01 Oct 2004 Posts: 176
|
Posted: Tue Dec 28, 2004 10:54 am Post subject: Eliminate downloading using local uptodate gentoo system? |
|
|
I am aware of using a local 'rsync Mirror' for the portage tree... is there any way to reduce the number of downloads using a local uptodate installed gentoo system's already downloaded packages? Does one simply copy over some files from the existing uptodate gentoo system to the one being installed? Any help regarding this will be greatly appreciated. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Dec 28, 2004 10:57 am Post subject: |
|
|
If the processor subarchitectures are compatible, and their USE flags and CFLAGS are similar - if not exactly equal - then you can simply force install the one system's binary packages on the other machine.
Note that this means that you have to use the least common denominator of the features you use for both systems.
Set "buildpkg" in FEATURES to always build binary packages. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
mody Apprentice
Joined: 01 Oct 2004 Posts: 176
|
Posted: Tue Dec 28, 2004 11:03 am Post subject: |
|
|
The existing uptodata system is a P4 Toshiba laptop and the system to be installed is an AthlonXP desktop. I would like the new machine to use a stage1 install, what I need to avoid is the downloading of the source tarballs that happens with emerging things like system, gentoo-dev-sources, xorg-x11, gome... which has already been done onto the laptop. I would like the new machine to compile its own binaries but I need to avoid using the net and use the local machine to get its source packages.
Is there some way I can copy those source packages onto the system to be installed so when it looks for the packeges its already on its drive? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Dec 28, 2004 2:12 pm Post subject: |
|
|
Been asked and answered many times on the forums.
NFS share the /usr/portage/distfiles directory and mount it there on the other machine.
That way, you can download source packages on either machine, and both will have access to them.
You then essentially have only one, shared, source directory. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|