diskimage-builder/elements/yum
Monty Taylor 3acc866f6d Use DIB_IMAGE_CACHE everywhere
disk-image-create processes a DIB_IMAGE_CACHE variable and exports it,
but there are several elements that ignore the value and wrote out
the base location themselves. Use the variable everywhere so that it
will get overridden everywhere.

Change-Id: I00fff354d6c931ad67cf3052d055f0e4604dfdc8
2014-10-05 13:58:32 -07:00
..
bin Merge "Avoid to install a blank list of packages" 2014-07-30 01:59:45 +00:00
post-install.d Reset yum configuration in post-install.d 2014-09-11 20:59:50 -04:00
pre-install.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
root.d Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
README.md Add yum element. 2013-08-14 18:26:51 -04:00

Provide yum specific image building glue.

RHEL/Fedora/CentOS and other yum based distributions need specific yum customizations.

Customizations include caching of downloaded yum packages outside of the build chroot so that they can be reused by subsequent image builds. The cache increases image building speed when building multiple images, especially on slow connections. This is more effective than using an HTTP proxy as a yum cache since the same rpm from different mirrors is often requested.