[Spacewalk-list] centos-base.repo

John Hodrien J.H.Hodrien at leeds.ac.uk
Wed Oct 20 14:43:42 UTC 2010


On Wed, 20 Oct 2010, Tom Brown wrote:

>> Downside is that the repos aren't disabled before the rhnreg_ks (so any
>> activation key installed packages will use those repos).  Also, and I accept
>> this is a minor risk, package updates in future risk wiping out this, or
>> adding other repo files to that directory.  Use of a custom directory in the
>> yum.conf avoids this, and yum package updates preserve changes to the
>> yum.conf.
>
> i just rebuild the centos-release package so as to not include the
> repo definitions in the first place.
>
> To me this is the cleanest way.

That indeed has a certain charm too.  Does that mean a rebuild per minor
release though?

jh


More information about the Spacewalk-list mailing list