[Fedora-livecd-list] [PATCH 3/6] Setting the yumcache

Jeremy Katz katzj at redhat.com
Tue Aug 7 21:26:59 UTC 2007


So, I commented a little on Colin's related patch... I'm leaning towards
this approach, though.

On Sun, 2007-08-05 at 20:33 +0200, Jeroen van Meeuwen wrote:
> A patch to change the location of the yum cache directory.
> 
> This enables existing yum cache to be used, which in our case is
> especially useful because that cache is populated already. Most
> importantly, livecd-creator doesn't bind mount the yum cache directory.

Why not do the bind mount?  By bind mounting the cache as /var/cache/yum
in the chroot, you don't have to do any mucking with the yum config
which should make it so that you just have to get the option and if it
doesn't exist, fall back to the default.  It also makes the cachedir
available to the chroot in %post which people could take advantage of if
they wanted

Jeremy




More information about the Fedora-livecd-list mailing list