94a7a7cf67
yum-minimal/root.d/08-yum-chroot runs before yum/root.d/50-yum-cache, and thus if run on a completely fresh system will fail in 08-yum-chroot as the YUM_CACHE directory isn't made. This is probably hidden by testing & nodepool builds, because it sets DIB_IMAGE_CACHE. It was hidden from me because locally I have done builds using the "yum" element previously, which had created the cache. Change-Id: I333f5f7e67d198f75a522cc296c118c2e94a5ecb |
||
---|---|---|
.. | ||
install.d | ||
pre-install.d | ||
root.d | ||
element-deps | ||
package-installs.yaml | ||
pkg-map | ||
README.rst |
yum-minimal
Base element for creating minimal yum-based images.
This element is incomplete by itself, you'll want to use the centos-minimal or fedora-minimal elements to get an actual base image.
Use of this element will require 'yum' and 'yum-utils' to be installed on Ubuntu and Debian. Nothing additional is needed on Fedora or CentOS.
The DIB_OFFLINE or more specific DIB_YUMCHROOT_USE_CACHE variables can be set to prefer the use of a pre-cached root filesystem tarball.