diskimage-builder/elements/yum/README.rst
James Slagle aee9cc0ce6 Make $DIB_YUM_REPO_CONF accept a list of repo files
It's useful to be able to pass in multiple yum repo configuration files
via $DIB_YUM_REPO_CONF, not just a single one.

Change-Id: I43722229a2df58be55bdb2b50c253e957b18e6fe
2015-05-22 19:37:29 -07:00

20 lines
846 B
ReStructuredText

===
yum
===
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.
Custom yum repository configurations can also be applied by defining
`DIB_YUM_REPO_CONF` to a space separated list of repo configuration files. The
files will be copied to /etc/yum.repos.d/ during the image build, and then
removed at the end of the build. Each repo file should be named differently to
avoid a filename collision.