diskimage-builder/bindep.txt
Carlos Goncalves 31dc53da67 Install yum and yum-utils on Red Hat family hosts
Elements like yum and yum-minimal depend on the yum and yumdownloader
CLIs on the DIB host. We have been assuming these tools are always
installed on Red Hat family distributions but that is no longer the case
starting from RHEL 8 and CentOS 8 and Fedora for a while -- these
systems moved on to DNF and DNF does not have a hard requirement on yum.

We noticed these two tools were missing while building an Octavia
amphora image on a CentOS 8 controller node in CI:

[...] 08-yum-chroot:_install_pkg_manager:223  : sudo -E yum -y [...]
[...] sudo: yum: command not found

Change-Id: I65807751b3764e86ba5adeb47552305ef2ea299b
2020-07-06 08:33:03 +00:00

44 lines
1.1 KiB
Plaintext

# This is a cross-platform list tracking distribution packages needed by tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
# common
bzip2
util-linux
dosfstools
gdisk
kpartx
sudo
curl
git
squashfs-tools [!platform:suse]
squashfs [platform:suse]
zypper [!platform:debian-stretch !platform:redhat !platform:ubuntu-trusty !platform:ubuntu-bionic]
gnupg2 [!platform:redhat !platform:ubuntu-trusty !platform:suse]
# ubuntu
apt-transport-https [platform:dpkg]
inetutils-ping [platform:dpkg]
python-lzma [platform:dpkg]
qemu-utils [platform:dpkg]
rpm [platform:dpkg]
uuid-runtime [platform:dpkg]
yum-utils [platform:dpkg]
debootstrap [platform:dpkg]
procps [platform:dpkg]
# centos/fedora
qemu-img [platform:redhat]
policycoreutils-python [platform:rhel-7 platform:centos-7]
policycoreutils-python-utils [platform:fedora platform:rhel-8 platform:centos-8]
procps-ng [platform:redhat]
yum [platform:redhat]
yum-utils [platform:redhat]
# suse
python-pyliblzma [platform:suse]
yum-utils [platform:suse]
qemu-tools [platform:suse]
debootstrap [platform:suse]
procps [platform:suse]