[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/5] scripts/ci: add capstone development packages
From: |
Paolo Bonzini |
Subject: |
[PULL 3/5] scripts/ci: add capstone development packages |
Date: |
Tue, 7 Feb 2023 12:38:05 +0100 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
scripts/ci/org.centos/stream/8/build-environment.yml | 9 +++++++++
scripts/ci/setup/build-environment.yml | 11 +++++++++++
2 files changed, 20 insertions(+)
diff --git a/scripts/ci/org.centos/stream/8/build-environment.yml
b/scripts/ci/org.centos/stream/8/build-environment.yml
index fe8807b7b074..95474ad034dc 100644
--- a/scripts/ci/org.centos/stream/8/build-environment.yml
+++ b/scripts/ci/org.centos/stream/8/build-environment.yml
@@ -10,6 +10,14 @@
check_mode: yes
register: centos_stream_8
+ - name: Enable EPEL repo on CentOS Stream 8
+ dnf:
+ name:
+ - epel-release
+ state: present
+ when:
+ - centos_stream_8
+
- name: Enable PowerTools repo on CentOS Stream 8
ini_file:
path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
@@ -22,6 +30,7 @@
- name: Install basic packages to build QEMU on CentOS Stream 8
dnf:
name:
+ - capstone-devel
- device-mapper-multipath-devel
- glusterfs-api-devel
- gnutls-devel
diff --git a/scripts/ci/setup/build-environment.yml
b/scripts/ci/setup/build-environment.yml
index c3cebc42ac2c..8d76404c6cf7 100644
--- a/scripts/ci/setup/build-environment.yml
+++ b/scripts/ci/setup/build-environment.yml
@@ -46,6 +46,7 @@
- libbrlapi-dev
- libbz2-dev
- libcacard-dev
+ - libcapstone-dev
- libcap-ng-dev
- libcurl4-gnutls-dev
- libdrm-dev
@@ -130,6 +131,15 @@
- ansible_facts['distribution_version'] == '20.04'
- ansible_facts['architecture'] == 'aarch64'
+ - name: Enable EPEL repo on EL8
+ dnf:
+ name:
+ - epel-release
+ state: present
+ when:
+ - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS']
+ - ansible_facts['distribution_major_version'] == '8'
+
- name: Enable PowerTools repo on CentOS 8
ini_file:
path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
@@ -148,6 +158,7 @@
name:
- bzip2
- bzip2-devel
+ - capstone-devel
- dbus-daemon
- diffutils
- gcc
--
2.38.1
- [PULL 0/5] Update CentOS 8 custom runner to use Python 3.8, Paolo Bonzini, 2023/02/07
- [PULL 1/5] scripts/ci: remove unnecessary checks from CentOS playbook, Paolo Bonzini, 2023/02/07
- [PULL 2/5] scripts/ci: support CentOS Stream 8 in build-environment.yaml, Paolo Bonzini, 2023/02/07
- [PULL 3/5] scripts/ci: add capstone development packages,
Paolo Bonzini <=
- [PULL 4/5] scripts/ci: unify package lists for CentOS in build-environment files, Paolo Bonzini, 2023/02/07
- [PULL 5/5] scripts/ci: bump CentOS Python to 3.8, Paolo Bonzini, 2023/02/07
- Re: [PULL 0/5] Update CentOS 8 custom runner to use Python 3.8, Peter Maydell, 2023/02/08