-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

September 9, 2003 01:28 am, Felix Miata wrote:
> Charlie M. wrote:
> > The command I used to first rsync with the same mirror; lifted from
> > /root/.bash_history:
> >
> > rsync -avrt --progress --delete --exclude alpha/ --exclude amd64/
> > - --exclude ia64/ --exclude others/ --exclude SRPMS --exclude
> > jpackage - --exclude ppc/ --exclude unsupported/
> > ftp.sunet.se::Mandrake-devel/ /store/Mandrake-devel/
> >
> > When I say I mirror I actually mean only the relevant parts and I
> > don't need any of the excluded stuff. Yet.
> >
> > You can make an exclude list to use, rather than individually
> > typing all of the directories you don't want but as I wrote, I used
> > this one for the first rsync 'cause I'd never done it before.
>
> I use this file:
> http://members.optusnet.com.au/ronst/rsync-plus/rsync_exclude
>
> and this "script":
> /usr/bin/rsync -av --delete --exclude-from=rsync_exclude
> ftp.sunet.se::Mandrake-devel/cooker/i586/ /mnt/mandrake/cooker | tee
> -a cooker.log

Hmmm... The rsync exclude looks like what I use now, but I can't tell 
from looking at it whether the script you use pulls the contrib 
directory. Other than the stuff I showed as excluded my 
/store/Mandrake-devel directory locally is identical to what's on 
sunet.se and uninett.no. Cooker and contrib are rsynced in one pass.

The command I used to add the local tree to the software manager 
probably won't help figure this out, but likely won't hurt either. ;)

cooker
urpmi.addmedia localcooker 
file://store/Mandrake-devel/cooker/i586/Mandrake/RPMS with 
../base/hdlist.cz

contrib
urpmi.addmedia localcontrib file://store/contrib/i586/ with 
../../cooker/i586/Mandrake/base/hdlist2.cz

It worked as expected here.

Charlie
- -- 
Edmonton,AB,Canada User 244963 at http://counter.li.org
Cooker on kernel 2.4.22-6mdk
01:30:28 up 1 day, 2:59, 1 user, load average: 0.17, 0.27, 0.26
"You know, we've won awards for this crap."
- -- David Letterman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD4DBQE/XYRIG11CaRuZZSIRApq1AKCHUgUyIuZAsS6ZyOrAZHT+tbjsrACXaDpw
gXQ0QBroo9pvB5W5kukWWg==
=Vfxv
-----END PGP SIGNATURE-----


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to