scripts/ci: unify package lists for CentOS in build-environment files

scripts/ci/org.centos/stream/8/build-environment.yml has a slightly different
list of packages compared to scripts/ci/setup/build-environment.yaml.  Make
them the same.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2023-01-19 14:31:24 +01:00
parent a925323008
commit cb1513df3f
2 changed files with 44 additions and 0 deletions

View File

@ -30,13 +30,26 @@
- name: Install basic packages to build QEMU on CentOS Stream 8 - name: Install basic packages to build QEMU on CentOS Stream 8
dnf: dnf:
name: name:
- bzip2
- bzip2-devel
- capstone-devel - capstone-devel
- dbus-daemon
- device-mapper-multipath-devel - device-mapper-multipath-devel
- diffutils
- gcc
- gcc-c++
- genisoimage
- gettext
- git
- glib2-devel
- glusterfs-api-devel - glusterfs-api-devel
- gnutls-devel - gnutls-devel
- libaio-devel
- libcap-ng-devel - libcap-ng-devel
- libcurl-devel - libcurl-devel
- libepoxy-devel
- libfdt-devel - libfdt-devel
- libgcrypt-devel
- libiscsi-devel - libiscsi-devel
- libpmem-devel - libpmem-devel
- librados-devel - librados-devel
@ -44,13 +57,25 @@
- libseccomp-devel - libseccomp-devel
- libssh-devel - libssh-devel
- libxkbcommon-devel - libxkbcommon-devel
- lzo-devel
- make
- mesa-libEGL-devel
- nettle-devel
- ninja-build - ninja-build
- nmap-ncat
- numactl-devel - numactl-devel
- pixman-devel
- python36
- python3-sphinx - python3-sphinx
- rdma-core-devel
- redhat-rpm-config - redhat-rpm-config
- snappy-devel - snappy-devel
- spice-glib-devel
- spice-server-devel - spice-server-devel
- systemd-devel - systemd-devel
- systemtap-sdt-devel
- tar
- zlib-devel
state: present state: present
when: when:
- centos_stream_8 - centos_stream_8

View File

@ -160,6 +160,7 @@
- bzip2-devel - bzip2-devel
- capstone-devel - capstone-devel
- dbus-daemon - dbus-daemon
- device-mapper-multipath-devel
- diffutils - diffutils
- gcc - gcc
- gcc-c++ - gcc-c++
@ -167,19 +168,36 @@
- gettext - gettext
- git - git
- glib2-devel - glib2-devel
- glusterfs-api-devel
- gnutls-devel
- libaio-devel - libaio-devel
- libcap-ng-devel
- libcurl-devel
- libepoxy-devel - libepoxy-devel
- libfdt-devel
- libgcrypt-devel - libgcrypt-devel
- libiscsi-devel
- libpmem-devel
- librados-devel
- librbd-devel
- libseccomp-devel
- libssh-devel
- libxkbcommon-devel
- lzo-devel - lzo-devel
- make - make
- mesa-libEGL-devel - mesa-libEGL-devel
- nettle-devel - nettle-devel
- ninja-build - ninja-build
- nmap-ncat - nmap-ncat
- numactl-devel
- pixman-devel - pixman-devel
- python36 - python36
- python3-sphinx
- rdma-core-devel - rdma-core-devel
- redhat-rpm-config
- snappy-devel
- spice-glib-devel - spice-glib-devel
- systemd-devel
- systemtap-sdt-devel - systemtap-sdt-devel
- tar - tar
- zlib-devel - zlib-devel
@ -193,6 +211,7 @@
# Spice server not available in ppc64le # Spice server not available in ppc64le
name: name:
- spice-server - spice-server
- spice-server-devel
state: present state: present
when: when:
- ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS'] - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS']