Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Use the same cache directory as yum now uses (#568996). (http://www.linux-archive.org/gentoo-user/338710-use-same-cache-directory-yum-now-uses-568996-a.html)

Chris Lumens 03-09-2010 04:23 PM

Use the same cache directory as yum now uses (#568996).
 
If we continue using our old location, post-installation yum operations will
not use our pre-cached repo metadata which wastes disk space and saves no
time.
---
yuminstall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index c112f50..d9c621d 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1094,7 +1094,7 @@ class YumBackend(AnacondaBackend):
buf = """
[main]
installroot=%s
-cachedir=/var/cache/yum
+cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
logfile=/tmp/yum.log
metadata_expire=0
--
1.6.5.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Ales Kozumplik 03-09-2010 04:39 PM

Use the same cache directory as yum now uses (#568996).
 
On 03/09/2010 06:23 PM, Chris Lumens wrote:

If we continue using our old location, post-installation yum operations will
not use our pre-cached repo metadata which wastes disk space and saves no
time.


Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 07:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.