[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/9] scripts/ci: Do not restrict spice package to x86/arm hosts
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
[PATCH 2/9] scripts/ci: Do not restrict spice package to x86/arm hosts |
|
Date: |
Thu, 4 Jan 2024 17:07:58 +0100 |
Allow installing spice-server-devel package on any non-ppc64le host,
as per commit 556ede028d ("scripts/ci/setup: spice-server only on
x86 aarch64") describes: "Spice server not available in ppc64le".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
scripts/ci/setup/build-environment.yml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/scripts/ci/setup/build-environment.yml
b/scripts/ci/setup/build-environment.yml
index f344d1a850..32ac0a74f4 100644
--- a/scripts/ci/setup/build-environment.yml
+++ b/scripts/ci/setup/build-environment.yml
@@ -249,7 +249,7 @@
- ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS']
- ansible_facts['distribution_version'] == '8'
- - name: Install packages only available on x86 and aarch64
+ - name: Install Spice packages
dnf:
# Spice server not available in ppc64le
name:
@@ -257,9 +257,8 @@
- spice-server-devel
state: present
when:
- - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS']
- - ansible_facts['distribution_version'] == '8'
- - ansible_facts['architecture'] == 'aarch64' or
ansible_facts['architecture'] == 'x86_64'
+ - ansible_facts['os_family'] == 'RedHat'
+ - ansible_facts['architecture'] != 'ppc64le'
- name: Check whether the Python runtime version is managed by alternatives
stat:
--
2.41.0
- [RFC PATCH 0/9] scripts/ci: Consolidate Ansible playbook rules, Philippe Mathieu-Daudé, 2024/01/04
- [PATCH 1/9] scripts/ci: Do not enforce gitlab-runner path, Philippe Mathieu-Daudé, 2024/01/04
- [PATCH 2/9] scripts/ci: Do not restrict spice package to x86/arm hosts,
Philippe Mathieu-Daudé <=
- [RFC PATCH 3/9] scripts/ci: Split EL8 specific packages out of Centos8 list, Philippe Mathieu-Daudé, 2024/01/04
- [RFC PATCH 4/9] scripts/ci: Update Centos8 package list, Philippe Mathieu-Daudé, 2024/01/04
- [RFC PATCH 5/9] scripts/ci: Restrict libpmem-devel package to x86 hosts, Philippe Mathieu-Daudé, 2024/01/04
- [RFC PATCH 6/9] scripts/ci: Install libxdp-devel on x86 hosts, Philippe Mathieu-Daudé, 2024/01/04
- [RFC PATCH 7/9] scripts/ci: Install RH packages on RH derivative distros, Philippe Mathieu-Daudé, 2024/01/04
- [RFC PATCH 8/9] scripts/ci: Update Ubuntu packages list, Philippe Mathieu-Daudé, 2024/01/04
- [RFC PATCH 9/9] scripts/ci: Restrict libpmem-dev and libxen-dev packages to x86 hosts, Philippe Mathieu-Daudé, 2024/01/04