c4c21967d8
The python3/python3-pyyaml packages both are never installed and dnf itself never updated when $DIB_DISTRIBUTION_MIRROR set and used. This change fix the order of the operations: 1. yum/dnf configure. 2. *.repo patching. 3. yum/dnf update/install execution. Change-Id: Ifbbf1f0190fe8c8a77fb3be820e8056447e755f6 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> |
||
---|---|---|
.. | ||
bin | ||
cleanup.d | ||
extra-data.d | ||
post-install.d | ||
pre-install.d | ||
root.d | ||
element-deps | ||
README.rst |
=== 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.