diskimage-builder/elements/yum
Ian Wienand cc177cc215 yum/install-packages output cleanup
Rather than echo the package list separately, turn on tracing around
the yum/dnf call so that we get more complete output.  No loss of
info, as this effecitvely shows the packgae list; plus it has the
bonus that it makes more sense in the logs, because otherwise you get
all the yum/dnf output without knowing what the call was.

Change-Id: I44df6e944af602e6b03f669c15a521056de1ad79
2017-02-07 15:49:47 +11:00
..
bin yum/install-packages output cleanup 2017-02-07 15:49:47 +11:00
cleanup.d Make $DIB_YUM_REPO_CONF accept a list of repo files 2015-05-22 19:37:29 -07:00
extra-data.d Make $DIB_YUM_REPO_CONF accept a list of repo files 2015-05-22 19:37:29 -07:00
post-install.d Reset yum/dnf cache to correct location 2015-10-14 06:36:06 +11:00
pre-install.d Add install-bin element 2016-05-13 11:52:23 +10:00
root.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
element-deps Add install-bin element 2016-05-13 11:52:23 +10:00
README.rst Make $DIB_YUM_REPO_CONF accept a list of repo files 2015-05-22 19:37:29 -07:00

===
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.