diskimage-builder/elements/yum
James Slagle 3df0a08394 Echo output when pkg-map fails
When the call to pkg-map fails, it prints the error to stdout. However,
this output is lost when pkg-map is executed in a subshell, so the
actual error is never seen. This change adds an explicit echo so the
error is shown.

Change-Id: Id6f4fae6acadfe2839b408fb2dd11fb65d65df6e
2014-07-08 14:12:51 -04:00
..
bin Echo output when pkg-map fails 2014-07-08 14:12:51 -04:00
pre-install.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
root.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05: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.