Red Hat Bugzilla – Bug 491193
RFE: buildinstall caches packages for install root
Last modified: 2013-07-04 08:46:46 EDT
Description of problem: buildinstall always downloads all packages needed for the install root. When pungi creates install DVD for Fedora 11, then that is about 350MB, which takes non-ignorable time. Instead, buildinstall should use a caching mechanism for packages that are required by the install root. Perhaps the caching could coordinate with the pungi caching (/var/cache/pungi/rawhide/packages, etc.)
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1.Compose an install DVD using recipe on manual page for pungi: pungi -c /usr/share/pungi/rawhide-fedora.ks --destdir=... --name myDVD --ver 11
2.Observe network traffic when pungi sub-invokes /usr/lib/anaconda-runtime/buildinstall
Actual results: All packages necessary to construct the install root are downloaded by buildinstall, even though many of them are present already in /var/cache/pungi/rawhide/packages, and even though many of them are the same as in previous attempts.
Expected results: buildinstall uses an effective caching mechanism for packages that are required to build the install root.
Additional info: This may be related to bug 481445 "revisor does not use yum proxy".
Martin is starting to look at the script rewriting stuff, so it's best to reassign this one to him. We can probably get most of the hard part of this done by using yum in buildinstall instead of our own stuff.
*** This bug has been marked as a duplicate of bug 458283 ***