5f47584196
The latest Debian bullseye release doesn't provide yum any more, only DNF. This breaks the minimal builds that are using on-host yum tools to start the chroot. Probe for yumdownloader, and if it's not there, use DNF. Note this requires "dnf download" which may not be packaged. See I21cfbd3935e48be4b92591ea36c7eed301230753 for a sample work-around that installs this plugin in the nodepool-builder container. Change-Id: Ia7f1e4d115cc67c378d865d91af94a07b8cdc6cc
45 lines
1.2 KiB
Plaintext
45 lines
1.2 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 !platform:ubuntu-focal]
|
|
gnupg2 [!platform:redhat !platform:ubuntu-trusty !platform:suse]
|
|
|
|
# ubuntu
|
|
apt-transport-https [platform:dpkg]
|
|
inetutils-ping [platform:dpkg]
|
|
python-lzma [platform:dpkg !platform:ubuntu-focal !platform:debian-bullseye]
|
|
qemu-utils [platform:dpkg]
|
|
rpm [platform:dpkg]
|
|
uuid-runtime [platform:dpkg]
|
|
yum-utils [platform:dpkg !platform:ubuntu-focal !platform:debian-bullseye]
|
|
dnf [platform:debian-bullseye]
|
|
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]
|