[PATCH] Use the same cache directory as yum now uses (#568996).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux