On Fri, 20 Jul 2007, Akemi Yagi wrote:
On 7/20/07, John R Pierce <pierce@xxxxxxxxxxxx> wrote:
if I have a local centos yum mirror, whats the best way of
adjusting the yum.repos.d/*.repo files to use this? If I simply
edit CentOS-Base.repo there stands a chance that a yum update
could conflict with my changes.
am I better off creating a 'new' .repo and setting the stock one
to 'enable=0' ?
In my case, I change the baseurl= line to my local yum repo and
comment out the mirrorlist= line to force getting files locally
only.
That's what we do as well.
Locally built packages, on the other hand, are stored in a separate
local repo; those do get their own .repo file.
--
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos