Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eliminate downloading using local uptodate gentoo system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mody
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 176

PostPosted: Tue Dec 28, 2004 10:54 am    Post subject: Eliminate downloading using local uptodate gentoo system? Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Dec 28, 2004 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message
mody
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 176

PostPosted: Tue Dec 28, 2004 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Dec 28, 2004 2:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4835
Location: Gothenburg, Sweden

PostPosted: Tue Dec 28, 2004 5:21 pm    Post subject: Reply with quote

Loads of tips can be found in http://forums.gentoo.org/viewtopic.php?t=59134

Moved from Installing Gentoo.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum