diskimage-builder/elements/yum
Dan Prince 5254aedfe5 Yum: support pkg-map in bin/install-packages
Updates the yum element's bin/install-packages script
so that if supports using pkg-map instead of map-packages
for package mapping. To make use of the new change
simply add the -m <element name> to allow install-packages
to know which element namespace to use when installing packages.

Use of the new -m option is off by default.

As part of this change we also updated install-packages
to use getopt for in script argument parsing.

Change-Id: I19240e74b69859f7faf9cd80440633234a677d63
2014-06-11 08:09:27 -04:00
..
bin Yum: support pkg-map in bin/install-packages 2014-06-11 08:09:27 -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.