* [gentoo-dev] Setting up a local Gentoo mirror for pre-compiled packages?
@ 2003-03-12 16:02 Michael Boman
2003-03-12 19:09 ` George Shapovalov
0 siblings, 1 reply; 2+ messages in thread
From: Michael Boman @ 2003-03-12 16:02 UTC (permalink / raw
To: Gentoo Development List
[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]
I want to setup a local binary Gentoo mirror so my machines doesn't need
to compile the packages themself (get pre-compiled software) and also
only get software that has been tested on the particular hardware (the
'client' machines are all the same hardware spec, except memory and cpu
speed, so CFLAGS are not changed.. and my USE flags are also same across
the machines. What I've figured out is:
- I need to assign a machine to be a "auto-builder", just build everything
I want/need as pre-compiled packages
- I need a repository to store the packages
- Need to setup some kind of mirror I can point the other machines to
for their rsync mirror
- Make sure that the machines only uses the local repository for packages,
and always get the pre-compiled version of it
Anyone have done some doc's to accomplish this? Where can I find those
if they exist?
Also, is it possible to tell emerge to use another root (/)
when installing new packages, or is 'chroot' the
only option? I am experimenting with Solaris live
upgrade methology and want portage to update the cold
partition. http://www.samag.com/documents/s=7789/sam0302j/0302j.htm has
a description how Sun's Live upgrade works.
Best regards
Michael Boman
--
Michael Boman
Security Architect, SecureCiRT Pte Ltd
http://www.securecirt.com
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Setting up a local Gentoo mirror for pre-compiled packages?
2003-03-12 16:02 [gentoo-dev] Setting up a local Gentoo mirror for pre-compiled packages? Michael Boman
@ 2003-03-12 19:09 ` George Shapovalov
0 siblings, 0 replies; 2+ messages in thread
From: George Shapovalov @ 2003-03-12 19:09 UTC (permalink / raw
To: gentoo-dev
Are the computers on a local network?
Then doing this is very simple:
nfs export /usr/porgat on your server (the build machine)
nfs mount that on all other machines...
This way yu can:
1. emerge sync from any machine (you will update the same *central* db)
2. emerge --buildpkg ... on your server
3. emerge --usepkg on all your clients...
(or you can even do build anywhere or in parallel (provided packageds do not
collide of course))
If nfsmount is undesirabble, well, there are different networked filesystems,
or you can script something along these lines employing rsync and/or scp (and
this may work well even if comp'yuters are on different networks far away -
namely if latency/throughput make network mounting undesirable).
Another option is to use distcc which will distribute compilation effort among
many computers (well, best resualts are provided by parallel use of both
approaches...).
George
On Wednesday 12 March 2003 08:02, Michael Boman wrote:
> I want to setup a local binary Gentoo mirror so my machines doesn't need
> to compile the packages themself (get pre-compiled software) and also
> only get software that has been tested on the particular hardware (the
> 'client' machines are all the same hardware spec, except memory and cpu
> speed, so CFLAGS are not changed.. and my USE flags are also same across
> the machines. What I've figured out is:
>
> - I need to assign a machine to be a "auto-builder", just build everything
> I want/need as pre-compiled packages
> - I need a repository to store the packages
> - Need to setup some kind of mirror I can point the other machines to
> for their rsync mirror
> - Make sure that the machines only uses the local repository for packages,
> and always get the pre-compiled version of it
>
> Anyone have done some doc's to accomplish this? Where can I find those
> if they exist?
>
> Also, is it possible to tell emerge to use another root (/)
> when installing new packages, or is 'chroot' the
> only option? I am experimenting with Solaris live
> upgrade methology and want portage to update the cold
> partition. http://www.samag.com/documents/s=7789/sam0302j/0302j.htm has
> a description how Sun's Live upgrade works.
>
> Best regards
> Michael Boman
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-12 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 16:02 [gentoo-dev] Setting up a local Gentoo mirror for pre-compiled packages? Michael Boman
2003-03-12 19:09 ` George Shapovalov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox