On Sun, Nov 18, 2007 at 05:02:41PM -0500, Todd Zullinger wrote:
Michael E Brown wrote:
> You might want to take a look at the mock 0.8.x yum caching. With
> the yum cache, it is likely that you would not need the squid cache
> anymore. The only thing that is re-downloaded is the yum metadata,
> if it changes. This is enabled by default, and you can safely set
> the timeout on it to be as high as you like.
For those of us with a local mirror on the LAN, is it enough to simply
set config_opts['plugin_conf']['yum_cache_enable'] = False in the mock
defaults.cfg to disable the yum cache?
Correct.
Also, is there a proper way to clear the cache, or is it fine to
just
rm /var/lib/mock/cache/*/yum_cache ?
Yes. You probably have to do that as root.
--
Michael