How to change Yum to point to my repository (S.L. 3.0.x)
Scientific Linux was designed so that users could easily change where their machines get their nightly updates.
Just Edit The Files
Customize yum-conf rpm
Scientific Linux has two yum rpm's. yum and yum-conf. This initially was so that yum could be upgraded without touching the configuration files. But it also allows people to completely change their yum-conf to point to wherever they wish.
Steps to customize your yum-conf rpm.
For the example we'll assume this is for release 3.0.4
- Get the yum-conf src rpm. Get the appropriate rpm for your distribution
- install the src.rpm and untar the source
rpm -Uvh yum-conf-304-2.src.rpm
tar xfz yum-conf-3.0.4.tar.gz
- Edit the appopriate files. Changing them to point to your machines.
- Tar back up the directory
tar cfz yum-conf-3.0.4.tar.gz yum-conf-304
- cd to the spec directory
cd /usr/src/redhat/SPECS/ Edit the spec file. Change the release to something appropriate
- Build your rpm
rpmbuild -ba yum-conf-sl304.spec
Last modified 2006-01-18 01:26 PM