diskimage-builder/diskimage_builder/elements/yum-minimal
Nicolas Hicher c160538465 yum-minimal: Add centos-stream-repos package for centos-8-stream
centos-repos package is not available on centos-8-stream:

2020-11-02 15:35:20.962 | No Match for argument centos-repos
2020-11-02 15:35:20.992 | No Match for argument centos-release-stream

The build fails later on install_pkg_manager sed command:

2020-11-02 15:35:22.903 | sed: can't read
/var/cache/nodepool/dib_tmp/dib_build.iPSHptNW/mnt/etc/yum.repos.d/*repo: No
such file or directory

This change ensure centos-stream-repos package is installed to provide
/etc/yum.repos.d/*repo files

This change replace 'centos-release-stream' package with the new
'centos-stream-release' package [1]

[1] https://lists.centos.org/pipermail/centos-devel/2020-September/056069.html

Change-Id: I6c397bf7b5797a02e5f006c18ee63c9cdf66b38c
2020-11-03 09:09:03 -05:00
..
cleanup.d Start at using CI mirrors for fedora/centos 2017-06-21 12:02:27 +10:00
install.d Only enable dbus-daemon on fedora-29 2019-07-12 10:21:49 -07:00
pre-install.d Update locales for Centos 8 2019-10-03 00:22:18 +00:00
root.d yum-minimal: Add centos-stream-repos package for centos-8-stream 2020-11-03 09:09:03 -05:00
element-deps Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
package-installs.yaml Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
pkg-map Add NetworkManager and dhcp-client for CentOS 8 2019-10-07 10:47:09 +00:00
README.rst Allow extra repositories to be added to images 2019-08-15 16:20:21 +02:00

===========
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.

If you wish to have DHCP networking setup for eth0 & eth1 via
/etc/sysconfig/network-config scripts/ifcfg-eth[0|1], set the
environment variable `DIB_YUM_MINIMAL_CREATE_INTERFACES` to `1`.

If you wish to build from specific mirrors, set
``DIB_YUM_MINIMAL_BOOTSTRAP_REPOS`` to a directory with the ``.repo``
files to use during bootstrap and build.  The repo files should be
named with a prefix ``dib-mirror-`` and will be removed from the final
image.

If you wish to include extra repositories, set ``DIB_YUM_MINIMAL_EXTRA_REPOS``
to a directory with the ``.repo`` files. The repo files will not be removed
from the final image.