27903f90e2
This started a long way from here, when I noticed that "top" on centos 9-stream images wasn't working because ncurses-base wasn't installed. This led me to the extant install of bash/glibc/ncurses-libs from Iecf7f7e4c992bb23437b6461cdd04cdca96aafa6. However it didn't really explain why these are brought in here. Reading further it became clearer that over the years of distribution additions, Fedora updates, etc. this has grown into a bit of a mess. Refactor the release package installs into a more logical flow, pulling out checks/comments for Fedora's of ancient history, etc. Remove the 9-stream package installs; this isn't the place for them, and the should be brought in by the base packages. Ultimately, this is intendend to a be a no-op refactor. Change-Id: Ie7d9a6497d0d20a3303ec0da3d0668c74efa2c3d |
||
---|---|---|
.. | ||
cleanup.d | ||
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. 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. If you are bootstrapping a custom or unsupported OS, and need to install additional packages to setup the base chroot, set ``DIB_YUM_MINIMAL_BOOTSTRAP_PACKAGES`` to the list of additional packages to install.