diskimage-builder/elements/yum
Ralf Haferkamp ba5aa8725e Fix $TARGET_ROOT usage in yum element
Fix the test for $TARGET_ROOT in root.d/50-yum-cache.

Don't use $TARGET_ROOT in pre-install, it's only set for "root" and "cleanup".

Change-Id: I048364ea08ef503a4466f3494f18f72ebf99b5c2
2013-12-10 17:56:42 +01:00
..
pre-install.d Fix $TARGET_ROOT usage in yum element 2013-12-10 17:56:42 +01:00
root.d Fix $TARGET_ROOT usage in yum element 2013-12-10 17:56:42 +01: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.