From 31dc53da67e239e1157602e763a579631b3611b1 Mon Sep 17 00:00:00 2001 From: Carlos Goncalves Date: Thu, 11 Jun 2020 15:23:36 +0200 Subject: [PATCH] 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 --- bindep.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindep.txt b/bindep.txt index a108e9fb4..61679d071 100644 --- a/bindep.txt +++ b/bindep.txt @@ -32,6 +32,8 @@ 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]