[PATCH] autocache patche -- resend, updated

seth vidal skvidal at linux.duke.edu
Wed May 24 15:21:03 UTC 2006


On Tue, 2006-05-23 at 00:06 -0500, Michael E Brown wrote:
> 	Here is a resend/consolidation of the autocache patches from last week.
> I have combined the patches sent last week. It now defaults to gzip
> format. I have also made the following fixes:
> 	-- integrate the mock permfix patch. This checks if cache was created
> with UID != current user UID and adjusts permissions appropriately.
> 	-- Integrate a couple of small fixes regarding permissions.
> _prep_install() happens before the above fix, so I have changed two
> chown calls from config['chrootuser'] to use config['chrootuid'] (as
> well as corresponding group/gid). This ensures that cached yum.conf is
> always up-to-date. Previously, a cached yum.conf would never be updated
> until the cache expired and was rebuilt. This change means cached builds
> will never use wrong configuration.
> 	-- Use the -l option to tar when creating cache. This prevents tar from
> saving /proc or /dev/pts/
> 	-- cmdline usability: --rebuildcache implies --autocache
> 
> Feedback and comments welcome...
> 
> Usage:
> 	Add --autocache to cmdline, or config_opts['use_cache'] = 1 to config
> file to enable caching. Cache is automatically built and saved
> to /var/lib/mock/root-cache/ on a per-config basis. Cache will be
> rebuilt by default every 15 days, or when --rebuildcache is specified on
> cmdline. This option is meant to be self-administering and low
> overhead. 
> 

merged. Thank you.

-sv





More information about the Fedora-buildsys-list mailing list