[WBEL-users] Building My own Updates.

Joshua Weage weage98@yahoo.com
Wed, 8 Dec 2004 10:45:14 -0800 (PST)


You'll need to install the lostRPMS too, they are on disk 1.

For updates, I recommend the following:

wget doesn't do a true mirror (I think).  rsync is the best option, but
you could also look at ftpmirror.py or lftp.  If you use one of these,
configure it to delete old files in your local SRPMS update repository.

After updating your SRPMS, you can compare the filenames of your SRPMS
with your binary RPMS ('man basename' for a useful tool) and then just
use "rpmbuild --rebuild xxx.src.rpm" on the new SRPMS.  This will
produce a new binary RPM and will clean out the build, source and spec
files.  Then just delete the old binary in your repository and move the
new one into place.

> (5) Learn about setting up a yum repo ;-) to point
> /etc/sysconfig/rhn/sources to

Yum is very cool, and easy to setup:

"yum-arch dir"

will setup your repo.  Just run that on each directory containing rpms.

Josh

=====



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com