On Wednesday 10 December 2003 07:49 am, Brian Downey wrote:
> > Andreas Vinsander wrote:
> >> lucas wrote:
> >>> I was just wonding, just what is the "regular mirrior system" and
> >>> what do i need to do to set it up???
> >>
> >> Take a look at /etc/make.conf... look for "SYNC"
> >>
> >> /Andreas
> >>
> >>
> >>
> >>
> >> --
> >> [EMAIL PROTECTED] mailing list
> >
> > I justed looked through it then and can't find anything with "SYNC"
>
> It's not actually listed (and commented) in the default make.conf.
>
> Just add a line like so:
>
> SYNC="rsync://yourserver.com/gentoo-portage"
>
> -brian
>
> --
> [EMAIL PROTECTED] mailing list

I'm trying to remember this off the top of my head:

1. On the "client" systems, you need these lines in your /etc/make.conf file.  
Please edit the IP address to be your internal rsync server.  (The 
FETCHCOMMAND and the next line are a continuation of the same line.)

FETCHCOMMAND='rsync -vcrtz --partial --progress --timeout=600 
rsync://192.168.1.50/gentoo-packages/${FILE} ${DISTDIR}'
SYNC="rsync://192.168.1.50/gentoo-portage"
GENTOO_MIRRORS="rsync://192.168.1.50/gentoo-packages"

2.  You will need to emerge rsyncd.  Make sure to edit the 
/etc/rsync/rsyncd.conf to point to where you have your portage files.  You 
start the rsyncd by using /etc/rsync/rsyncd start

3.  On the "client" systems, make sure you have the directory 
/usr/portage/distfiles created BEFORE you try to emerge sync/rsync.  Make 
sure the permissions of the distfiles directory match those of the 
/usr/portage directory.


You will probably need to play a little with this to get it to work, but I 
have it working for several systems at home.

Good Luck...

Harlan...


--
[EMAIL PROTECTED] mailing list

Reply via email to